public static final class ViewIndexedAssetsResponse.Builder extends GeneratedMessageV3.Builder<ViewIndexedAssetsResponse.Builder> implements ViewIndexedAssetsResponseOrBuilder
Response message for ViewIndexedAssets.
Protobuf type google.cloud.visionai.v1.ViewIndexedAssetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addIndexedAssets(IndexedAsset value)
public ViewIndexedAssetsResponse.Builder addIndexedAssets(IndexedAsset value)
The assets from the specified index.
repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;
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;
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;
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;
addIndexedAssetsBuilder()
public IndexedAsset.Builder addIndexedAssetsBuilder()
The assets from the specified index.
repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ViewIndexedAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ViewIndexedAssetsResponse build()
buildPartial()
public ViewIndexedAssetsResponse buildPartial()
clear()
public ViewIndexedAssetsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ViewIndexedAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIndexedAssets()
public ViewIndexedAssetsResponse.Builder clearIndexedAssets()
The assets from the specified index.
repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ViewIndexedAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ViewIndexedAssetsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ViewIndexedAssetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getIndexedAssetsBuilderList()
public List<IndexedAsset.Builder> getIndexedAssetsBuilderList()
The assets from the specified index.
repeated .google.cloud.visionai.v1.IndexedAsset indexed_assets = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ViewIndexedAssetsResponse other)
public ViewIndexedAssetsResponse.Builder mergeFrom(ViewIndexedAssetsResponse other)
public ViewIndexedAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ViewIndexedAssetsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ViewIndexedAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ViewIndexedAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ViewIndexedAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ViewIndexedAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides