public static final class AssetSource.AssetContentData extends GeneratedMessageV3 implements AssetSource.AssetContentDataOrBuilder
The content of the asset.
Protobuf type google.cloud.visionai.v1.AssetSource.AssetContentData
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AssetSource.AssetContentDataImplements
AssetSource.AssetContentDataOrBuilderStatic Fields
ASSET_CONTENT_DATA_FIELD_NUMBER
public static final int ASSET_CONTENT_DATA_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AssetSource.AssetContentData getDefaultInstance()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AssetSource.AssetContentData.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
newBuilder(AssetSource.AssetContentData prototype)
public static AssetSource.AssetContentData.Builder newBuilder(AssetSource.AssetContentData prototype)
Parameter | |
---|---|
Name | Description |
prototype |
AssetSource.AssetContentData |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
parseDelimitedFrom(InputStream input)
public static AssetSource.AssetContentData parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AssetSource.AssetContentData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AssetSource.AssetContentData parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssetSource.AssetContentData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AssetSource.AssetContentData parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssetSource.AssetContentData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AssetSource.AssetContentData parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssetSource.AssetContentData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AssetSource.AssetContentData parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AssetSource.AssetContentData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AssetSource.AssetContentData parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssetSource.AssetContentData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AssetSource.AssetContentData> parser()
Returns | |
---|---|
Type | Description |
Parser<AssetContentData> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
getParserForType()
public Parser<AssetSource.AssetContentData> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<AssetContentData> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AssetSource.AssetContentData.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AssetSource.AssetContentData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AssetSource.AssetContentData.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AssetSource.AssetContentData.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |