Class AppPlatformMetadata (0.12.0)

public final class AppPlatformMetadata extends GeneratedMessageV3 implements AppPlatformMetadataOrBuilder

Message of essential metadata of App Platform. This message is usually attached to a certain processor output annotation for customer to identify the source of the data.

Protobuf type google.cloud.visionai.v1.AppPlatformMetadata

Static Fields

APPLICATION_FIELD_NUMBER

public static final int APPLICATION_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_ID_FIELD_NUMBER

public static final int INSTANCE_ID_FIELD_NUMBER
Field Value
Type Description
int

NODE_FIELD_NUMBER

public static final int NODE_FIELD_NUMBER
Field Value
Type Description
int

PROCESSOR_FIELD_NUMBER

public static final int PROCESSOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppPlatformMetadata getDefaultInstance()
Returns
Type Description
AppPlatformMetadata

getDescriptor()

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

newBuilder()

public static AppPlatformMetadata.Builder newBuilder()
Returns
Type Description
AppPlatformMetadata.Builder

newBuilder(AppPlatformMetadata prototype)

public static AppPlatformMetadata.Builder newBuilder(AppPlatformMetadata prototype)
Parameter
Name Description
prototype AppPlatformMetadata
Returns
Type Description
AppPlatformMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AppPlatformMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppPlatformMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AppPlatformMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppPlatformMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppPlatformMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppPlatformMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppPlatformMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppPlatformMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AppPlatformMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppPlatformMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AppPlatformMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppPlatformMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AppPlatformMetadata> parser()
Returns
Type Description
Parser<AppPlatformMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApplication()

public String getApplication()

The application resource name.

string application = 1;

Returns
Type Description
String

The application.

getApplicationBytes()

public ByteString getApplicationBytes()

The application resource name.

string application = 1;

Returns
Type Description
ByteString

The bytes for application.

getDefaultInstanceForType()

public AppPlatformMetadata getDefaultInstanceForType()
Returns
Type Description
AppPlatformMetadata

getInstanceId()

public String getInstanceId()

The instance resource id. Instance is the nested resource of application under collection 'instances'.

string instance_id = 2;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

The instance resource id. Instance is the nested resource of application under collection 'instances'.

string instance_id = 2;

Returns
Type Description
ByteString

The bytes for instanceId.

getNode()

public String getNode()

The node name of the application graph.

string node = 3;

Returns
Type Description
String

The node.

getNodeBytes()

public ByteString getNodeBytes()

The node name of the application graph.

string node = 3;

Returns
Type Description
ByteString

The bytes for node.

getParserForType()

public Parser<AppPlatformMetadata> getParserForType()
Returns
Type Description
Parser<AppPlatformMetadata>
Overrides

getProcessor()

public String getProcessor()

The referred processor resource name of the application node.

string processor = 4;

Returns
Type Description
String

The processor.

getProcessorBytes()

public ByteString getProcessorBytes()

The referred processor resource name of the application node.

string processor = 4;

Returns
Type Description
ByteString

The bytes for processor.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AppPlatformMetadata.Builder newBuilderForType()
Returns
Type Description
AppPlatformMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppPlatformMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AppPlatformMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AppPlatformMetadata.Builder toBuilder()
Returns
Type Description
AppPlatformMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException