Class GetVodSessionRequest.Builder (0.27.0)

public static final class GetVodSessionRequest.Builder extends GeneratedMessageV3.Builder<GetVodSessionRequest.Builder> implements GetVodSessionRequestOrBuilder

Request message for VideoStitcherService.getVodSession

Protobuf type google.cloud.video.stitcher.v1.GetVodSessionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetVodSessionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

build()

public GetVodSessionRequest build()
Returns
TypeDescription
GetVodSessionRequest

buildPartial()

public GetVodSessionRequest buildPartial()
Returns
TypeDescription
GetVodSessionRequest

clear()

public GetVodSessionRequest.Builder clear()
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetVodSessionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

clearName()

public GetVodSessionRequest.Builder clearName()

Required. The name of the VOD session to be retrieved, in the form of projects/{project_number}/locations/{location}/vodSessions/{id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetVodSessionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetVodSessionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

clone()

public GetVodSessionRequest.Builder clone()
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

getDefaultInstanceForType()

public GetVodSessionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetVodSessionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the VOD session to be retrieved, in the form of projects/{project_number}/locations/{location}/vodSessions/{id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the VOD session to be retrieved, in the form of projects/{project_number}/locations/{location}/vodSessions/{id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetVodSessionRequest other)

public GetVodSessionRequest.Builder mergeFrom(GetVodSessionRequest other)
Parameter
NameDescription
otherGetVodSessionRequest
Returns
TypeDescription
GetVodSessionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetVodSessionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetVodSessionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetVodSessionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetVodSessionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

setName(String value)

public GetVodSessionRequest.Builder setName(String value)

Required. The name of the VOD session to be retrieved, in the form of projects/{project_number}/locations/{location}/vodSessions/{id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetVodSessionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetVodSessionRequest.Builder setNameBytes(ByteString value)

Required. The name of the VOD session to be retrieved, in the form of projects/{project_number}/locations/{location}/vodSessions/{id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetVodSessionRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetVodSessionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetVodSessionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetVodSessionRequest.Builder
Overrides