Class AppPlatformMetadata.Builder (0.1.0)

public static final class AppPlatformMetadata.Builder extends GeneratedMessageV3.Builder<AppPlatformMetadata.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppPlatformMetadata build()
Returns
Type Description
AppPlatformMetadata

buildPartial()

public AppPlatformMetadata buildPartial()
Returns
Type Description
AppPlatformMetadata

clear()

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

clearApplication()

public AppPlatformMetadata.Builder clearApplication()

The application resource name.

string application = 1;

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceId()

public AppPlatformMetadata.Builder clearInstanceId()

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

string instance_id = 2;

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

clearNode()

public AppPlatformMetadata.Builder clearNode()

The node name of the application graph.

string node = 3;

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessor()

public AppPlatformMetadata.Builder clearProcessor()

The referred processor resource name of the application node.

string processor = 4;

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

clone()

public AppPlatformMetadata.Builder clone()
Returns
Type Description
AppPlatformMetadata.Builder
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

getDescriptorForType()

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

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppPlatformMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApplication(String value)

public AppPlatformMetadata.Builder setApplication(String value)

The application resource name.

string application = 1;

Parameter
Name Description
value String

The application to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setApplicationBytes(ByteString value)

public AppPlatformMetadata.Builder setApplicationBytes(ByteString value)

The application resource name.

string application = 1;

Parameter
Name Description
value ByteString

The bytes for application to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceId(String value)

public AppPlatformMetadata.Builder setInstanceId(String value)

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

string instance_id = 2;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public AppPlatformMetadata.Builder setInstanceIdBytes(ByteString value)

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

string instance_id = 2;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setNode(String value)

public AppPlatformMetadata.Builder setNode(String value)

The node name of the application graph.

string node = 3;

Parameter
Name Description
value String

The node to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setNodeBytes(ByteString value)

public AppPlatformMetadata.Builder setNodeBytes(ByteString value)

The node name of the application graph.

string node = 3;

Parameter
Name Description
value ByteString

The bytes for node to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setProcessor(String value)

public AppPlatformMetadata.Builder setProcessor(String value)

The referred processor resource name of the application node.

string processor = 4;

Parameter
Name Description
value String

The processor to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

setProcessorBytes(ByteString value)

public AppPlatformMetadata.Builder setProcessorBytes(ByteString value)

The referred processor resource name of the application node.

string processor = 4;

Parameter
Name Description
value ByteString

The bytes for processor to set.

Returns
Type Description
AppPlatformMetadata.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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