Class ListInputsResponse.Builder (0.45.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.Input>
Returns
Type Description
ListInputsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListInputsResponse.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
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
Name Description
value Input
Returns
Type Description
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
Name Description
builderForValue Input.Builder
Returns
Type Description
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
Name Description
index int
value Input
Returns
Type Description
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
Name Description
index int
builderForValue Input.Builder
Returns
Type Description
ListInputsResponse.Builder

addInputsBuilder()

public Input.Builder addInputsBuilder()

A list of inputs.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListInputsResponse.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
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListInputsResponse.Builder

This builder for chaining.

build()

public ListInputsResponse build()
Returns
Type Description
ListInputsResponse

buildPartial()

public ListInputsResponse buildPartial()
Returns
Type Description
ListInputsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInputs()

public ListInputsResponse.Builder clearInputs()

A list of inputs.

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

Returns
Type Description
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
Type Description
ListInputsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListInputsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListInputsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInputsResponse getDefaultInstanceForType()
Returns
Type Description
ListInputsResponse

getDescriptorForType()

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

getInputs(int index)

public Input getInputs(int index)

A list of inputs.

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

Parameter
Name Description
index int
Returns
Type Description
Input

getInputsBuilder(int index)

public Input.Builder getInputsBuilder(int index)

A list of inputs.

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

Parameter
Name Description
index int
Returns
Type Description
Input.Builder

getInputsBuilderList()

public List<Input.Builder> getInputsBuilderList()

A list of inputs.

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

Returns
Type Description
List<Builder>

getInputsCount()

public int getInputsCount()

A list of inputs.

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

Returns
Type Description
int

getInputsList()

public List<Input> getInputsList()

A list of inputs.

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

Returns
Type Description
List<Input>

getInputsOrBuilder(int index)

public InputOrBuilder getInputsOrBuilder(int index)

A list of inputs.

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

Parameter
Name Description
index int
Returns
Type Description
InputOrBuilder

getInputsOrBuilderList()

public List<? extends InputOrBuilder> getInputsOrBuilderList()

A list of inputs.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListInputsResponse.Builder

This builder for chaining.