Class ListCdnKeysResponse.Builder (0.15.0)

public static final class ListCdnKeysResponse.Builder extends GeneratedMessageV3.Builder<ListCdnKeysResponse.Builder> implements ListCdnKeysResponseOrBuilder

Response message for VideoStitcher.ListCdnKeys.

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

Static Methods

getDescriptor()

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

Methods

addAllCdnKeys(Iterable<? extends CdnKey> values)

public ListCdnKeysResponse.Builder addAllCdnKeys(Iterable<? extends CdnKey> values)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.CdnKey>
Returns
TypeDescription
ListCdnKeysResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListCdnKeysResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

addCdnKeys(CdnKey value)

public ListCdnKeysResponse.Builder addCdnKeys(CdnKey value)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
valueCdnKey
Returns
TypeDescription
ListCdnKeysResponse.Builder

addCdnKeys(CdnKey.Builder builderForValue)

public ListCdnKeysResponse.Builder addCdnKeys(CdnKey.Builder builderForValue)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
builderForValueCdnKey.Builder
Returns
TypeDescription
ListCdnKeysResponse.Builder

addCdnKeys(int index, CdnKey value)

public ListCdnKeysResponse.Builder addCdnKeys(int index, CdnKey value)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameters
NameDescription
indexint
valueCdnKey
Returns
TypeDescription
ListCdnKeysResponse.Builder

addCdnKeys(int index, CdnKey.Builder builderForValue)

public ListCdnKeysResponse.Builder addCdnKeys(int index, CdnKey.Builder builderForValue)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameters
NameDescription
indexint
builderForValueCdnKey.Builder
Returns
TypeDescription
ListCdnKeysResponse.Builder

addCdnKeysBuilder()

public CdnKey.Builder addCdnKeysBuilder()

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Returns
TypeDescription
CdnKey.Builder

addCdnKeysBuilder(int index)

public CdnKey.Builder addCdnKeysBuilder(int index)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CdnKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListCdnKeysResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListCdnKeysResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

build()

public ListCdnKeysResponse build()
Returns
TypeDescription
ListCdnKeysResponse

buildPartial()

public ListCdnKeysResponse buildPartial()
Returns
TypeDescription
ListCdnKeysResponse

clear()

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

clearCdnKeys()

public ListCdnKeysResponse.Builder clearCdnKeys()

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Returns
TypeDescription
ListCdnKeysResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCdnKeysResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCdnKeysResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

clone()

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

getCdnKeys(int index)

public CdnKey getCdnKeys(int index)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CdnKey

getCdnKeysBuilder(int index)

public CdnKey.Builder getCdnKeysBuilder(int index)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CdnKey.Builder

getCdnKeysBuilderList()

public List<CdnKey.Builder> getCdnKeysBuilderList()

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Returns
TypeDescription
List<Builder>

getCdnKeysCount()

public int getCdnKeysCount()

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Returns
TypeDescription
int

getCdnKeysList()

public List<CdnKey> getCdnKeysList()

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Returns
TypeDescription
List<CdnKey>

getCdnKeysOrBuilder(int index)

public CdnKeyOrBuilder getCdnKeysOrBuilder(int index)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CdnKeyOrBuilder

getCdnKeysOrBuilderList()

public List<? extends CdnKeyOrBuilder> getCdnKeysOrBuilderList()

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Returns
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.CdnKeyOrBuilder>

getDefaultInstanceForType()

public ListCdnKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCdnKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCdnKeysResponse other)

public ListCdnKeysResponse.Builder mergeFrom(ListCdnKeysResponse other)
Parameter
NameDescription
otherListCdnKeysResponse
Returns
TypeDescription
ListCdnKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCdnKeys(int index)

public ListCdnKeysResponse.Builder removeCdnKeys(int index)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCdnKeysResponse.Builder

setCdnKeys(int index, CdnKey value)

public ListCdnKeysResponse.Builder setCdnKeys(int index, CdnKey value)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameters
NameDescription
indexint
valueCdnKey
Returns
TypeDescription
ListCdnKeysResponse.Builder

setCdnKeys(int index, CdnKey.Builder builderForValue)

public ListCdnKeysResponse.Builder setCdnKeys(int index, CdnKey.Builder builderForValue)

List of CDN keys.

repeated .google.cloud.video.stitcher.v1.CdnKey cdn_keys = 1;

Parameters
NameDescription
indexint
builderForValueCdnKey.Builder
Returns
TypeDescription
ListCdnKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCdnKeysResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCdnKeysResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListCdnKeysResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCdnKeysResponse.Builder

This builder for chaining.