Class ViewIndexedAssetsResponse.Builder (0.10.0)

public static final class ViewIndexedAssetsResponse.Builder extends GeneratedMessageV3.Builder<ViewIndexedAssetsResponse.Builder> implements ViewIndexedAssetsResponseOrBuilder

Response message for ViewIndexedAssets.

Protobuf type google.cloud.visionai.v1.ViewIndexedAssetsResponse

Static Methods

getDescriptor()

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

Methods

addAllIndexedAssets(Iterable<? extends IndexedAsset> values)

public ViewIndexedAssetsResponse.Builder addAllIndexedAssets(Iterable<? extends IndexedAsset> values)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

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

addIndexedAssets(IndexedAsset value)

public ViewIndexedAssetsResponse.Builder addIndexedAssets(IndexedAsset value)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
value IndexedAsset
Returns
Type Description
ViewIndexedAssetsResponse.Builder

addIndexedAssets(IndexedAsset.Builder builderForValue)

public ViewIndexedAssetsResponse.Builder addIndexedAssets(IndexedAsset.Builder builderForValue)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
builderForValue IndexedAsset.Builder
Returns
Type Description
ViewIndexedAssetsResponse.Builder

addIndexedAssets(int index, IndexedAsset value)

public ViewIndexedAssetsResponse.Builder addIndexedAssets(int index, IndexedAsset value)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameters
Name Description
index int
value IndexedAsset
Returns
Type Description
ViewIndexedAssetsResponse.Builder

addIndexedAssets(int index, IndexedAsset.Builder builderForValue)

public ViewIndexedAssetsResponse.Builder addIndexedAssets(int index, IndexedAsset.Builder builderForValue)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameters
Name Description
index int
builderForValue IndexedAsset.Builder
Returns
Type Description
ViewIndexedAssetsResponse.Builder

addIndexedAssetsBuilder()

public IndexedAsset.Builder addIndexedAssetsBuilder()

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Returns
Type Description
IndexedAsset.Builder

addIndexedAssetsBuilder(int index)

public IndexedAsset.Builder addIndexedAssetsBuilder(int index)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexedAsset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ViewIndexedAssetsResponse build()
Returns
Type Description
ViewIndexedAssetsResponse

buildPartial()

public ViewIndexedAssetsResponse buildPartial()
Returns
Type Description
ViewIndexedAssetsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndexedAssets()

public ViewIndexedAssetsResponse.Builder clearIndexedAssets()

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Returns
Type Description
ViewIndexedAssetsResponse.Builder

clearNextPageToken()

public ViewIndexedAssetsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ViewIndexedAssetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ViewIndexedAssetsResponse getDefaultInstanceForType()
Returns
Type Description
ViewIndexedAssetsResponse

getDescriptorForType()

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

getIndexedAssets(int index)

public IndexedAsset getIndexedAssets(int index)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexedAsset

getIndexedAssetsBuilder(int index)

public IndexedAsset.Builder getIndexedAssetsBuilder(int index)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexedAsset.Builder

getIndexedAssetsBuilderList()

public List<IndexedAsset.Builder> getIndexedAssetsBuilderList()

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Returns
Type Description
List<Builder>

getIndexedAssetsCount()

public int getIndexedAssetsCount()

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Returns
Type Description
int

getIndexedAssetsList()

public List<IndexedAsset> getIndexedAssetsList()

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Returns
Type Description
List<IndexedAsset>

getIndexedAssetsOrBuilder(int index)

public IndexedAssetOrBuilder getIndexedAssetsOrBuilder(int index)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexedAssetOrBuilder

getIndexedAssetsOrBuilderList()

public List<? extends IndexedAssetOrBuilder> getIndexedAssetsOrBuilderList()

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ViewIndexedAssetsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIndexedAssets(int index)

public ViewIndexedAssetsResponse.Builder removeIndexedAssets(int index)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
ViewIndexedAssetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexedAssets(int index, IndexedAsset value)

public ViewIndexedAssetsResponse.Builder setIndexedAssets(int index, IndexedAsset value)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameters
Name Description
index int
value IndexedAsset
Returns
Type Description
ViewIndexedAssetsResponse.Builder

setIndexedAssets(int index, IndexedAsset.Builder builderForValue)

public ViewIndexedAssetsResponse.Builder setIndexedAssets(int index, IndexedAsset.Builder builderForValue)

The assets from the specified index.

repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;

Parameters
Name Description
index int
builderForValue IndexedAsset.Builder
Returns
Type Description
ViewIndexedAssetsResponse.Builder

setNextPageToken(String value)

public ViewIndexedAssetsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ViewIndexedAssetsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ViewIndexedAssetsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ViewIndexedAssetsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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