Class ListSeriesResponse.Builder (0.6.0)

public static final class ListSeriesResponse.Builder extends GeneratedMessageV3.Builder<ListSeriesResponse.Builder> implements ListSeriesResponseOrBuilder

Message for response to listing Series.

Protobuf type google.cloud.visionai.v1.ListSeriesResponse

Static Methods

getDescriptor()

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

Methods

addAllSeries(Iterable<? extends Series> values)

public ListSeriesResponse.Builder addAllSeries(Iterable<? extends Series> values)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.Series>
Returns
Type Description
ListSeriesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSeries(Series value)

public ListSeriesResponse.Builder addSeries(Series value)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
value Series
Returns
Type Description
ListSeriesResponse.Builder

addSeries(Series.Builder builderForValue)

public ListSeriesResponse.Builder addSeries(Series.Builder builderForValue)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
builderForValue Series.Builder
Returns
Type Description
ListSeriesResponse.Builder

addSeries(int index, Series value)

public ListSeriesResponse.Builder addSeries(int index, Series value)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameters
Name Description
index int
value Series
Returns
Type Description
ListSeriesResponse.Builder

addSeries(int index, Series.Builder builderForValue)

public ListSeriesResponse.Builder addSeries(int index, Series.Builder builderForValue)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameters
Name Description
index int
builderForValue Series.Builder
Returns
Type Description
ListSeriesResponse.Builder

addSeriesBuilder()

public Series.Builder addSeriesBuilder()

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Returns
Type Description
Series.Builder

addSeriesBuilder(int index)

public Series.Builder addSeriesBuilder(int index)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
index int
Returns
Type Description
Series.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListSeriesResponse build()
Returns
Type Description
ListSeriesResponse

buildPartial()

public ListSeriesResponse buildPartial()
Returns
Type Description
ListSeriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSeriesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListSeriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeries()

public ListSeriesResponse.Builder clearSeries()

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Returns
Type Description
ListSeriesResponse.Builder

clearUnreachable()

public ListSeriesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListSeriesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSeriesResponse getDefaultInstanceForType()
Returns
Type Description
ListSeriesResponse

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.

getSeries(int index)

public Series getSeries(int index)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
index int
Returns
Type Description
Series

getSeriesBuilder(int index)

public Series.Builder getSeriesBuilder(int index)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
index int
Returns
Type Description
Series.Builder

getSeriesBuilderList()

public List<Series.Builder> getSeriesBuilderList()

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Returns
Type Description
List<Builder>

getSeriesCount()

public int getSeriesCount()

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Returns
Type Description
int

getSeriesList()

public List<Series> getSeriesList()

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Returns
Type Description
List<Series>

getSeriesOrBuilder(int index)

public SeriesOrBuilder getSeriesOrBuilder(int index)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
index int
Returns
Type Description
SeriesOrBuilder

getSeriesOrBuilderList()

public List<? extends SeriesOrBuilder> getSeriesOrBuilderList()

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.SeriesOrBuilder>

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSeries(int index)

public ListSeriesResponse.Builder removeSeries(int index)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSeriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setSeries(int index, Series value)

public ListSeriesResponse.Builder setSeries(int index, Series value)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameters
Name Description
index int
value Series
Returns
Type Description
ListSeriesResponse.Builder

setSeries(int index, Series.Builder builderForValue)

public ListSeriesResponse.Builder setSeries(int index, Series.Builder builderForValue)

The list of Series.

repeated .google.cloud.visionai.v1.Series series = 1;

Parameters
Name Description
index int
builderForValue Series.Builder
Returns
Type Description
ListSeriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.