Class ListAnalysesResponse.Builder (0.12.0)

public static final class ListAnalysesResponse.Builder extends GeneratedMessageV3.Builder<ListAnalysesResponse.Builder> implements ListAnalysesResponseOrBuilder

Message for response to listing Analyses

Protobuf type google.cloud.visionai.v1.ListAnalysesResponse

Static Methods

getDescriptor()

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

Methods

addAllAnalyses(Iterable<? extends Analysis> values)

public ListAnalysesResponse.Builder addAllAnalyses(Iterable<? extends Analysis> values)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addAnalyses(Analysis value)

public ListAnalysesResponse.Builder addAnalyses(Analysis value)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
value Analysis
Returns
Type Description
ListAnalysesResponse.Builder

addAnalyses(Analysis.Builder builderForValue)

public ListAnalysesResponse.Builder addAnalyses(Analysis.Builder builderForValue)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
builderForValue Analysis.Builder
Returns
Type Description
ListAnalysesResponse.Builder

addAnalyses(int index, Analysis value)

public ListAnalysesResponse.Builder addAnalyses(int index, Analysis value)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameters
Name Description
index int
value Analysis
Returns
Type Description
ListAnalysesResponse.Builder

addAnalyses(int index, Analysis.Builder builderForValue)

public ListAnalysesResponse.Builder addAnalyses(int index, Analysis.Builder builderForValue)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameters
Name Description
index int
builderForValue Analysis.Builder
Returns
Type Description
ListAnalysesResponse.Builder

addAnalysesBuilder()

public Analysis.Builder addAnalysesBuilder()

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Returns
Type Description
Analysis.Builder

addAnalysesBuilder(int index)

public Analysis.Builder addAnalysesBuilder(int index)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
index int
Returns
Type Description
Analysis.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListAnalysesResponse build()
Returns
Type Description
ListAnalysesResponse

buildPartial()

public ListAnalysesResponse buildPartial()
Returns
Type Description
ListAnalysesResponse

clear()

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

clearAnalyses()

public ListAnalysesResponse.Builder clearAnalyses()

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Returns
Type Description
ListAnalysesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAnalysesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListAnalysesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAnalysesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListAnalysesResponse.Builder

This builder for chaining.

clone()

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

getAnalyses(int index)

public Analysis getAnalyses(int index)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
index int
Returns
Type Description
Analysis

getAnalysesBuilder(int index)

public Analysis.Builder getAnalysesBuilder(int index)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
index int
Returns
Type Description
Analysis.Builder

getAnalysesBuilderList()

public List<Analysis.Builder> getAnalysesBuilderList()

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Returns
Type Description
List<Builder>

getAnalysesCount()

public int getAnalysesCount()

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Returns
Type Description
int

getAnalysesList()

public List<Analysis> getAnalysesList()

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Returns
Type Description
List<Analysis>

getAnalysesOrBuilder(int index)

public AnalysisOrBuilder getAnalysesOrBuilder(int index)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalysisOrBuilder

getAnalysesOrBuilderList()

public List<? extends AnalysisOrBuilder> getAnalysesOrBuilderList()

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

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

getDefaultInstanceForType()

public ListAnalysesResponse getDefaultInstanceForType()
Returns
Type Description
ListAnalysesResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAnalyses(int index)

public ListAnalysesResponse.Builder removeAnalyses(int index)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAnalysesResponse.Builder

setAnalyses(int index, Analysis value)

public ListAnalysesResponse.Builder setAnalyses(int index, Analysis value)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameters
Name Description
index int
value Analysis
Returns
Type Description
ListAnalysesResponse.Builder

setAnalyses(int index, Analysis.Builder builderForValue)

public ListAnalysesResponse.Builder setAnalyses(int index, Analysis.Builder builderForValue)

The list of Analysis

repeated .google.cloud.visionai.v1.Analysis analyses = 1;

Parameters
Name Description
index int
builderForValue Analysis.Builder
Returns
Type Description
ListAnalysesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.