Class ListInputsResponse.Builder (0.21.0)

public static final class ListInputsResponse.Builder extends GeneratedMessageV3.Builder<ListInputsResponse.Builder> implements ListInputsResponseOrBuilder

Response message for "LivestreamService.ListInputs".

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

Static Methods

getDescriptor()

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

Methods

addAllInputs(Iterable<? extends Input> values)

public ListInputsResponse.Builder addAllInputs(Iterable<? extends Input> values)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.Input>
Returns
TypeDescription
ListInputsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListInputsResponse.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
ListInputsResponse.Builder

This builder for chaining.

addInputs(Input value)

public ListInputsResponse.Builder addInputs(Input value)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
valueInput
Returns
TypeDescription
ListInputsResponse.Builder

addInputs(Input.Builder builderForValue)

public ListInputsResponse.Builder addInputs(Input.Builder builderForValue)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
builderForValueInput.Builder
Returns
TypeDescription
ListInputsResponse.Builder

addInputs(int index, Input value)

public ListInputsResponse.Builder addInputs(int index, Input value)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameters
NameDescription
indexint
valueInput
Returns
TypeDescription
ListInputsResponse.Builder

addInputs(int index, Input.Builder builderForValue)

public ListInputsResponse.Builder addInputs(int index, Input.Builder builderForValue)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameters
NameDescription
indexint
builderForValueInput.Builder
Returns
TypeDescription
ListInputsResponse.Builder

addInputsBuilder()

public Input.Builder addInputsBuilder()

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Returns
TypeDescription
Input.Builder

addInputsBuilder(int index)

public Input.Builder addInputsBuilder(int index)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Input.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListInputsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListInputsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListInputsResponse.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
ListInputsResponse.Builder

This builder for chaining.

build()

public ListInputsResponse build()
Returns
TypeDescription
ListInputsResponse

buildPartial()

public ListInputsResponse buildPartial()
Returns
TypeDescription
ListInputsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInputs()

public ListInputsResponse.Builder clearInputs()

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Returns
TypeDescription
ListInputsResponse.Builder

clearNextPageToken()

public ListInputsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ListInputsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListInputsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListInputsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInputsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInputsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputs(int index)

public Input getInputs(int index)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Input

getInputsBuilder(int index)

public Input.Builder getInputsBuilder(int index)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Input.Builder

getInputsBuilderList()

public List<Input.Builder> getInputsBuilderList()

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Returns
TypeDescription
List<Builder>

getInputsCount()

public int getInputsCount()

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Returns
TypeDescription
int

getInputsList()

public List<Input> getInputsList()

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Returns
TypeDescription
List<Input>

getInputsOrBuilder(int index)

public InputOrBuilder getInputsOrBuilder(int index)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InputOrBuilder

getInputsOrBuilderList()

public List<? extends InputOrBuilder> getInputsOrBuilderList()

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.InputOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

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(ListInputsResponse other)

public ListInputsResponse.Builder mergeFrom(ListInputsResponse other)
Parameter
NameDescription
otherListInputsResponse
Returns
TypeDescription
ListInputsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInputs(int index)

public ListInputsResponse.Builder removeInputs(int index)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListInputsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputs(int index, Input value)

public ListInputsResponse.Builder setInputs(int index, Input value)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameters
NameDescription
indexint
valueInput
Returns
TypeDescription
ListInputsResponse.Builder

setInputs(int index, Input.Builder builderForValue)

public ListInputsResponse.Builder setInputs(int index, Input.Builder builderForValue)

A list of inputs.

repeated .google.cloud.video.livestream.v1.Input inputs = 1;

Parameters
NameDescription
indexint
builderForValueInput.Builder
Returns
TypeDescription
ListInputsResponse.Builder

setNextPageToken(String value)

public ListInputsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListInputsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInputsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListInputsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListInputsResponse.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
ListInputsResponse.Builder

This builder for chaining.