public static final class AssetSource.AssetContentData.Builder extends GeneratedMessageV3.Builder<AssetSource.AssetContentData.Builder> implements AssetSource.AssetContentDataOrBuilder
The content of the asset.
Protobuf type google.cloud.visionai.v1.AssetSource.AssetContentData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AssetSource.AssetContentData.BuilderImplements
AssetSource.AssetContentDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssetSource.AssetContentData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
build()
public AssetSource.AssetContentData build()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
buildPartial()
public AssetSource.AssetContentData buildPartial()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
clear()
public AssetSource.AssetContentData.Builder clear()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
clearAssetContentData()
public AssetSource.AssetContentData.Builder clearAssetContentData()
bytes asset_content_data = 1;
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AssetSource.AssetContentData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AssetSource.AssetContentData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
clone()
public AssetSource.AssetContentData.Builder clone()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
getAssetContentData()
public ByteString getAssetContentData()
bytes asset_content_data = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The assetContentData. |
getDefaultInstanceForType()
public AssetSource.AssetContentData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AssetSource.AssetContentData other)
public AssetSource.AssetContentData.Builder mergeFrom(AssetSource.AssetContentData other)
Parameter | |
---|---|
Name | Description |
other |
AssetSource.AssetContentData |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AssetSource.AssetContentData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AssetSource.AssetContentData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssetSource.AssetContentData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
setAssetContentData(ByteString value)
public AssetSource.AssetContentData.Builder setAssetContentData(ByteString value)
bytes asset_content_data = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The assetContentData to set. |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AssetSource.AssetContentData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssetSource.AssetContentData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AssetSource.AssetContentData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |