Class ListCdnKeysResponse.Builder (0.46.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.stitcher.v1.CdnKey>
Returns
Type Description
ListCdnKeysResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
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
Name Description
value CdnKey
Returns
Type Description
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
Name Description
builderForValue CdnKey.Builder
Returns
Type Description
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
Name Description
index int
value CdnKey
Returns
Type Description
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
Name Description
index int
builderForValue CdnKey.Builder
Returns
Type Description
ListCdnKeysResponse.Builder

addCdnKeysBuilder()

public CdnKey.Builder addCdnKeysBuilder()

List of CDN keys.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
CdnKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListCdnKeysResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListCdnKeysResponse.Builder

This builder for chaining.

build()

public ListCdnKeysResponse build()
Returns
Type Description
ListCdnKeysResponse

buildPartial()

public ListCdnKeysResponse buildPartial()
Returns
Type Description
ListCdnKeysResponse

clear()

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

clearCdnKeys()

public ListCdnKeysResponse.Builder clearCdnKeys()

List of CDN keys.

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

Returns
Type Description
ListCdnKeysResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListCdnKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListCdnKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCdnKeysResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListCdnKeysResponse.Builder

This builder for chaining.

clone()

public ListCdnKeysResponse.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
CdnKey.Builder

getCdnKeysBuilderList()

public List<CdnKey.Builder> getCdnKeysBuilderList()

List of CDN keys.

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

Returns
Type Description
List<Builder>

getCdnKeysCount()

public int getCdnKeysCount()

List of CDN keys.

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

Returns
Type Description
int

getCdnKeysList()

public List<CdnKey> getCdnKeysList()

List of CDN keys.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
CdnKeyOrBuilder

getCdnKeysOrBuilderList()

public List<? extends CdnKeyOrBuilder> getCdnKeysOrBuilderList()

List of CDN keys.

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

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

getDefaultInstanceForType()

public ListCdnKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListCdnKeysResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCdnKeysResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCdnKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value CdnKey
Returns
Type Description
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
Name Description
index int
builderForValue CdnKey.Builder
Returns
Type Description
ListCdnKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListCdnKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListCdnKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCdnKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListCdnKeysResponse.Builder

This builder for chaining.