Class Application.Builder (0.12.0)

public static final class Application.Builder extends GeneratedMessageV3.Builder<Application.Builder> implements ApplicationOrBuilder

Message describing Application object

Protobuf type google.cloud.visionai.v1.Application

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Application build()
Returns
Type Description
Application

buildPartial()

public Application buildPartial()
Returns
Type Description
Application

clear()

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

clearApplicationConfigs()

public Application.Builder clearApplicationConfigs()

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Returns
Type Description
Application.Builder

clearBillingMode()

public Application.Builder clearBillingMode()

Billing mode of the application.

.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;

Returns
Type Description
Application.Builder

This builder for chaining.

clearCreateTime()

public Application.Builder clearCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.Builder

clearDescription()

public Application.Builder clearDescription()

A description for this application.

string description = 6;

Returns
Type Description
Application.Builder

This builder for chaining.

clearDisplayName()

public Application.Builder clearDisplayName()

Required. A user friendly display name for the solution.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Application.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Application.Builder clearLabels()
Returns
Type Description
Application.Builder

clearName()

public Application.Builder clearName()

name of resource

string name = 1;

Returns
Type Description
Application.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuntimeInfo()

public Application.Builder clearRuntimeInfo()

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.Builder

clearState()

public Application.Builder clearState()

Output only. State of the application.

.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.Builder

This builder for chaining.

clearUpdateTime()

public Application.Builder clearUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getApplicationConfigs()

public ApplicationConfigs getApplicationConfigs()

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Returns
Type Description
ApplicationConfigs

The applicationConfigs.

getApplicationConfigsBuilder()

public ApplicationConfigs.Builder getApplicationConfigsBuilder()

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Returns
Type Description
ApplicationConfigs.Builder

getApplicationConfigsOrBuilder()

public ApplicationConfigsOrBuilder getApplicationConfigsOrBuilder()

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Returns
Type Description
ApplicationConfigsOrBuilder

getBillingMode()

public Application.BillingMode getBillingMode()

Billing mode of the application.

.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;

Returns
Type Description
Application.BillingMode

The billingMode.

getBillingModeValue()

public int getBillingModeValue()

Billing mode of the application.

.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;

Returns
Type Description
int

The enum numeric value on the wire for billingMode.

getCreateTime()

public Timestamp getCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Application getDefaultInstanceForType()
Returns
Type Description
Application

getDescription()

public String getDescription()

A description for this application.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description for this application.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Required. A user friendly display name for the solution.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. A user friendly display name for the solution.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

name of resource

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

name of resource

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRuntimeInfo()

public Application.ApplicationRuntimeInfo getRuntimeInfo()

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.ApplicationRuntimeInfo

The runtimeInfo.

getRuntimeInfoBuilder()

public Application.ApplicationRuntimeInfo.Builder getRuntimeInfoBuilder()

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.ApplicationRuntimeInfo.Builder

getRuntimeInfoOrBuilder()

public Application.ApplicationRuntimeInfoOrBuilder getRuntimeInfoOrBuilder()

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.ApplicationRuntimeInfoOrBuilder

getState()

public Application.State getState()

Output only. State of the application.

.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Application.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the application.

.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasApplicationConfigs()

public boolean hasApplicationConfigs()

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Returns
Type Description
boolean

Whether the applicationConfigs field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasRuntimeInfo()

public boolean hasRuntimeInfo()

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the runtimeInfo field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplicationConfigs(ApplicationConfigs value)

public Application.Builder mergeApplicationConfigs(ApplicationConfigs value)

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Parameter
Name Description
value ApplicationConfigs
Returns
Type Description
Application.Builder

mergeCreateTime(Timestamp value)

public Application.Builder mergeCreateTime(Timestamp value)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Application.Builder

mergeFrom(Application other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRuntimeInfo(Application.ApplicationRuntimeInfo value)

public Application.Builder mergeRuntimeInfo(Application.ApplicationRuntimeInfo value)

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Application.ApplicationRuntimeInfo
Returns
Type Description
Application.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Application.Builder mergeUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Application.Builder

putAllLabels(Map<String,String> values)

public Application.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Application.Builder

putLabels(String key, String value)

public Application.Builder putLabels(String key, String value)

Labels as key value pairs

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
Application.Builder

removeLabels(String key)

public Application.Builder removeLabels(String key)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
Application.Builder

setApplicationConfigs(ApplicationConfigs value)

public Application.Builder setApplicationConfigs(ApplicationConfigs value)

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Parameter
Name Description
value ApplicationConfigs
Returns
Type Description
Application.Builder

setApplicationConfigs(ApplicationConfigs.Builder builderForValue)

public Application.Builder setApplicationConfigs(ApplicationConfigs.Builder builderForValue)

Application graph configuration.

.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;

Parameter
Name Description
builderForValue ApplicationConfigs.Builder
Returns
Type Description
Application.Builder

setBillingMode(Application.BillingMode value)

public Application.Builder setBillingMode(Application.BillingMode value)

Billing mode of the application.

.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;

Parameter
Name Description
value Application.BillingMode

The billingMode to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setBillingModeValue(int value)

public Application.Builder setBillingModeValue(int value)

Billing mode of the application.

.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;

Parameter
Name Description
value int

The enum numeric value on the wire for billingMode to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Application.Builder setCreateTime(Timestamp value)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Application.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Application.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Application.Builder

setDescription(String value)

public Application.Builder setDescription(String value)

A description for this application.

string description = 6;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Application.Builder setDescriptionBytes(ByteString value)

A description for this application.

string description = 6;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDisplayName(String value)

public Application.Builder setDisplayName(String value)

Required. A user friendly display name for the solution.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Application.Builder setDisplayNameBytes(ByteString value)

Required. A user friendly display name for the solution.

string display_name = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Application.Builder setName(String value)

name of resource

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Application.Builder setNameBytes(ByteString value)

name of resource

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Application.Builder

This builder for chaining.

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

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

setRuntimeInfo(Application.ApplicationRuntimeInfo value)

public Application.Builder setRuntimeInfo(Application.ApplicationRuntimeInfo value)

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Application.ApplicationRuntimeInfo
Returns
Type Description
Application.Builder

setRuntimeInfo(Application.ApplicationRuntimeInfo.Builder builderForValue)

public Application.Builder setRuntimeInfo(Application.ApplicationRuntimeInfo.Builder builderForValue)

Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED.

.google.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Application.ApplicationRuntimeInfo.Builder
Returns
Type Description
Application.Builder

setState(Application.State value)

public Application.Builder setState(Application.State value)

Output only. State of the application.

.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Application.State

The state to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setStateValue(int value)

public Application.Builder setStateValue(int value)

Output only. State of the application.

.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Application.Builder setUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Application.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Application.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Application.Builder