Class GetClipRequest.Builder (0.57.0)

public static final class GetClipRequest.Builder extends GeneratedMessageV3.Builder<GetClipRequest.Builder> implements GetClipRequestOrBuilder

Request message for "LivestreamService.GetClip".

Protobuf type google.cloud.video.livestream.v1.GetClipRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetClipRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetClipRequest.Builder
Overrides

build()

public GetClipRequest build()
Returns
Type Description
GetClipRequest

buildPartial()

public GetClipRequest buildPartial()
Returns
Type Description
GetClipRequest

clear()

public GetClipRequest.Builder clear()
Returns
Type Description
GetClipRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetClipRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetClipRequest.Builder
Overrides

clearName()

public GetClipRequest.Builder clearName()

Required. Name of the resource, in the following form: projects/{project}/locations/{location}/channels/{channel}/clips/{clip}.

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

Returns
Type Description
GetClipRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetClipRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetClipRequest.Builder
Overrides

clone()

public GetClipRequest.Builder clone()
Returns
Type Description
GetClipRequest.Builder
Overrides

getDefaultInstanceForType()

public GetClipRequest getDefaultInstanceForType()
Returns
Type Description
GetClipRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Name of the resource, in the following form: projects/{project}/locations/{location}/channels/{channel}/clips/{clip}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource, in the following form: projects/{project}/locations/{location}/channels/{channel}/clips/{clip}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetClipRequest other)

public GetClipRequest.Builder mergeFrom(GetClipRequest other)
Parameter
Name Description
other GetClipRequest
Returns
Type Description
GetClipRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetClipRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetClipRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetClipRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetClipRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetClipRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetClipRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetClipRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetClipRequest.Builder
Overrides

setName(String value)

public GetClipRequest.Builder setName(String value)

Required. Name of the resource, in the following form: projects/{project}/locations/{location}/channels/{channel}/clips/{clip}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetClipRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetClipRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource, in the following form: projects/{project}/locations/{location}/channels/{channel}/clips/{clip}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetClipRequest.Builder

This builder for chaining.

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

public GetClipRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetClipRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetClipRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetClipRequest.Builder
Overrides