Class ApplicationInstance.Builder (0.6.0)

public static final class ApplicationInstance.Builder extends GeneratedMessageV3.Builder<ApplicationInstance.Builder> implements ApplicationInstanceOrBuilder

Message for creating a Instance.

Protobuf type google.cloud.visionai.v1.ApplicationInstance

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApplicationInstance build()
Returns
Type Description
ApplicationInstance

buildPartial()

public ApplicationInstance buildPartial()
Returns
Type Description
ApplicationInstance

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public ApplicationInstance.Builder clearInstance()

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApplicationInstance.Builder

clearInstanceId()

public ApplicationInstance.Builder clearInstanceId()

Required. Id of the requesting object.

string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApplicationInstance.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ApplicationInstance.Builder clone()
Returns
Type Description
ApplicationInstance.Builder
Overrides

getDefaultInstanceForType()

public ApplicationInstance getDefaultInstanceForType()
Returns
Type Description
ApplicationInstance

getDescriptorForType()

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

getInstance()

public Instance getInstance()

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceBuilder()

public Instance.Builder getInstanceBuilder()

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance.Builder

getInstanceId()

public String getInstanceId()

Required. Id of the requesting object.

string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Required. Id of the requesting object.

string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceId.

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceOrBuilder

hasInstance()

public boolean hasInstance()

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplicationInstance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(Instance value)

public ApplicationInstance.Builder mergeInstance(Instance value)

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Instance
Returns
Type Description
ApplicationInstance.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(Instance value)

public ApplicationInstance.Builder setInstance(Instance value)

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Instance
Returns
Type Description
ApplicationInstance.Builder

setInstance(Instance.Builder builderForValue)

public ApplicationInstance.Builder setInstance(Instance.Builder builderForValue)

Required. The resource being created.

.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
ApplicationInstance.Builder

setInstanceId(String value)

public ApplicationInstance.Builder setInstanceId(String value)

Required. Id of the requesting object.

string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
ApplicationInstance.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public ApplicationInstance.Builder setInstanceIdBytes(ByteString value)

Required. Id of the requesting object.

string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
ApplicationInstance.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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