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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApplicationInstance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ApplicationInstance build()
buildPartial()
public ApplicationInstance buildPartial()
clear()
public ApplicationInstance.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ApplicationInstance.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstance()
public ApplicationInstance.Builder clearInstance()
Required. The resource being created.
.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
clearInstanceId()
public ApplicationInstance.Builder clearInstanceId()
Required. Id of the requesting object.
string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public ApplicationInstance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ApplicationInstance.Builder clone()
Overrides
getDefaultInstanceForType()
public ApplicationInstance getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ApplicationInstance other)
public ApplicationInstance.Builder mergeFrom(ApplicationInstance other)
public ApplicationInstance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ApplicationInstance.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApplicationInstance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ApplicationInstance.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApplicationInstance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApplicationInstance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides