public static final class CreateVodSessionRequest.Builder extends GeneratedMessageV3.Builder<CreateVodSessionRequest.Builder> implements CreateVodSessionRequestOrBuilder
Request message for VideoStitcherService.createVodSession
Protobuf type google.cloud.video.stitcher.v1.CreateVodSessionRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateVodSessionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateVodSessionRequest build()
Returns
buildPartial()
public CreateVodSessionRequest buildPartial()
Returns
clear()
public CreateVodSessionRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateVodSessionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateVodSessionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateVodSessionRequest.Builder clearParent()
Required. The project and location in which the VOD session should be created, in the
form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearVodSession()
public CreateVodSessionRequest.Builder clearVodSession()
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateVodSessionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateVodSessionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The project and location in which the VOD session should be created, in the
form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project and location in which the VOD session should be created, in the
form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getVodSession()
public VodSession getVodSession()
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getVodSessionBuilder()
public VodSession.Builder getVodSessionBuilder()
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getVodSessionOrBuilder()
public VodSessionOrBuilder getVodSessionOrBuilder()
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasVodSession()
public boolean hasVodSession()
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the vodSession field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateVodSessionRequest other)
public CreateVodSessionRequest.Builder mergeFrom(CreateVodSessionRequest other)
Parameter
Returns
public CreateVodSessionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateVodSessionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateVodSessionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeVodSession(VodSession value)
public CreateVodSessionRequest.Builder mergeVodSession(VodSession value)
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateVodSessionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateVodSessionRequest.Builder setParent(String value)
Required. The project and location in which the VOD session should be created, in the
form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateVodSessionRequest.Builder setParentBytes(ByteString value)
Required. The project and location in which the VOD session should be created, in the
form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateVodSessionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateVodSessionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVodSession(VodSession value)
public CreateVodSessionRequest.Builder setVodSession(VodSession value)
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setVodSession(VodSession.Builder builderForValue)
public CreateVodSessionRequest.Builder setVodSession(VodSession.Builder builderForValue)
Required. Parameters for creating a session.
.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns