Package proto.stream.v1
Class Stream.Resolution.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Stream.Resolution,Stream.Resolution.Builder>
proto.stream.v1.Stream.Resolution.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Stream.ResolutionOrBuilder
- Enclosing class:
- Stream.Resolution
public static final class Stream.Resolution.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Stream.Resolution,Stream.Resolution.Builder>
implements Stream.ResolutionOrBuilder
Resolution details the width and height of a stream.Protobuf type
proto.stream.v1.Resolution
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionint32 height = 2 [json_name = "height"];
int32 width = 1 [json_name = "width"];
int
int32 height = 2 [json_name = "height"];
int
getWidth()
int32 width = 1 [json_name = "width"];
setHeight
(int value) int32 height = 2 [json_name = "height"];
setWidth
(int value) int32 width = 1 [json_name = "width"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getWidth
public int getWidth()int32 width = 1 [json_name = "width"];
- Specified by:
getWidth
in interfaceStream.ResolutionOrBuilder
- Returns:
- The width.
-
setWidth
int32 width = 1 [json_name = "width"];
- Parameters:
value
- The width to set.- Returns:
- This builder for chaining.
-
clearWidth
int32 width = 1 [json_name = "width"];
- Returns:
- This builder for chaining.
-
getHeight
public int getHeight()int32 height = 2 [json_name = "height"];
- Specified by:
getHeight
in interfaceStream.ResolutionOrBuilder
- Returns:
- The height.
-
setHeight
int32 height = 2 [json_name = "height"];
- Parameters:
value
- The height to set.- Returns:
- This builder for chaining.
-
clearHeight
int32 height = 2 [json_name = "height"];
- Returns:
- This builder for chaining.
-