Class Slate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
- com.google.cloud.video.stitcher.v1.Slate.Builder
-
- All Implemented Interfaces:
SlateOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Slate
public static final class Slate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder> implements SlateOrBuilder
Slate object
Protobuf typegoogle.cloud.video.stitcher.v1.Slate
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Slate.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Slate
build()
Slate
buildPartial()
Slate.Builder
clear()
Slate.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Slate.Builder
clearGamSlate()
gam_slate has all the GAM-related attributes of slates.Slate.Builder
clearName()
Output only.Slate.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Slate.Builder
clearUri()
The URI to fetch the source content for the slate.Slate.Builder
clone()
Slate
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Slate.GamSlate
getGamSlate()
gam_slate has all the GAM-related attributes of slates.Slate.GamSlate.Builder
getGamSlateBuilder()
gam_slate has all the GAM-related attributes of slates.Slate.GamSlateOrBuilder
getGamSlateOrBuilder()
gam_slate has all the GAM-related attributes of slates.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getUri()
The URI to fetch the source content for the slate.com.google.protobuf.ByteString
getUriBytes()
The URI to fetch the source content for the slate.boolean
hasGamSlate()
gam_slate has all the GAM-related attributes of slates.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Slate.Builder
mergeFrom(Slate other)
Slate.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Slate.Builder
mergeFrom(com.google.protobuf.Message other)
Slate.Builder
mergeGamSlate(Slate.GamSlate value)
gam_slate has all the GAM-related attributes of slates.Slate.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Slate.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Slate.Builder
setGamSlate(Slate.GamSlate value)
gam_slate has all the GAM-related attributes of slates.Slate.Builder
setGamSlate(Slate.GamSlate.Builder builderForValue)
gam_slate has all the GAM-related attributes of slates.Slate.Builder
setName(String value)
Output only.Slate.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Slate.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Slate.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Slate.Builder
setUri(String value)
The URI to fetch the source content for the slate.Slate.Builder
setUriBytes(com.google.protobuf.ByteString value)
The URI to fetch the source content for the slate.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
clear
public Slate.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
getDefaultInstanceForType
public Slate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Slate build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Slate buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Slate.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
setField
public Slate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
clearField
public Slate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
clearOneof
public Slate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
setRepeatedField
public Slate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
addRepeatedField
public Slate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
mergeFrom
public Slate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Slate.Builder>
-
mergeFrom
public Slate.Builder mergeFrom(Slate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
mergeFrom
public Slate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Slate.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The name of the slate, in the form of `projects/{project_number}/locations/{location}/slates/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceSlateOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the slate, in the form of `projects/{project_number}/locations/{location}/slates/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceSlateOrBuilder
- Returns:
- The bytes for name.
-
setName
public Slate.Builder setName(String value)
Output only. The name of the slate, in the form of `projects/{project_number}/locations/{location}/slates/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Slate.Builder clearName()
Output only. The name of the slate, in the form of `projects/{project_number}/locations/{location}/slates/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Slate.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the slate, in the form of `projects/{project_number}/locations/{location}/slates/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUri
public String getUri()
The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.
string uri = 2;
- Specified by:
getUri
in interfaceSlateOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.
string uri = 2;
- Specified by:
getUriBytes
in interfaceSlateOrBuilder
- Returns:
- The bytes for uri.
-
setUri
public Slate.Builder setUri(String value)
The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.
string uri = 2;
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public Slate.Builder clearUri()
The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.
string uri = 2;
- Returns:
- This builder for chaining.
-
setUriBytes
public Slate.Builder setUriBytes(com.google.protobuf.ByteString value)
The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.
string uri = 2;
- Parameters:
value
- The bytes for uri to set.- Returns:
- This builder for chaining.
-
hasGamSlate
public boolean hasGamSlate()
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
- Specified by:
hasGamSlate
in interfaceSlateOrBuilder
- Returns:
- Whether the gamSlate field is set.
-
getGamSlate
public Slate.GamSlate getGamSlate()
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
- Specified by:
getGamSlate
in interfaceSlateOrBuilder
- Returns:
- The gamSlate.
-
setGamSlate
public Slate.Builder setGamSlate(Slate.GamSlate value)
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
-
setGamSlate
public Slate.Builder setGamSlate(Slate.GamSlate.Builder builderForValue)
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
-
mergeGamSlate
public Slate.Builder mergeGamSlate(Slate.GamSlate value)
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
-
clearGamSlate
public Slate.Builder clearGamSlate()
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
-
getGamSlateBuilder
public Slate.GamSlate.Builder getGamSlateBuilder()
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
-
getGamSlateOrBuilder
public Slate.GamSlateOrBuilder getGamSlateOrBuilder()
gam_slate has all the GAM-related attributes of slates.
.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
- Specified by:
getGamSlateOrBuilder
in interfaceSlateOrBuilder
-
setUnknownFields
public final Slate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
mergeUnknownFields
public final Slate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
-
-