Class Application.Builder (0.14.1)

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

Message describing Application object

Protobuf type google.events.cloud.visionai.v1.Application

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.Builder
Overrides

build()

public Application build()
Returns
TypeDescription
Application

buildPartial()

public Application buildPartial()
Returns
TypeDescription
Application

clear()

public Application.Builder clear()
Returns
TypeDescription
Application.Builder
Overrides

clearApplicationConfigs()

public Application.Builder clearApplicationConfigs()

Application graph configuration.

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

Returns
TypeDescription
Application.Builder

clearBillingMode()

public Application.Builder clearBillingMode()

Billing mode of the application.

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

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearCreateTime()

public Application.Builder clearCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Application.Builder

clearDescription()

public Application.Builder clearDescription()

A description for this application.

string description = 6;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearDisplayName()

public Application.Builder clearDisplayName()

Required. A user friendly display name for the solution.

string display_name = 5;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Application.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Application.Builder
Overrides

clearLabels()

public Application.Builder clearLabels()
Returns
TypeDescription
Application.Builder

clearName()

public Application.Builder clearName()

name of resource

string name = 1;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Application.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Application.Builder
Overrides

clearRuntimeInfo()

public Application.Builder clearRuntimeInfo()

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

.google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Returns
TypeDescription
Application.Builder

clearState()

public Application.Builder clearState()

Output only. State of the application.

.google.events.cloud.visionai.v1.Application.State state = 9;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearUpdateTime()

public Application.Builder clearUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Application.Builder

clone()

public Application.Builder clone()
Returns
TypeDescription
Application.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getApplicationConfigs()

public ApplicationConfigs getApplicationConfigs()

Application graph configuration.

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

Returns
TypeDescription
ApplicationConfigs

The applicationConfigs.

getApplicationConfigsBuilder()

public ApplicationConfigs.Builder getApplicationConfigsBuilder()

Application graph configuration.

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

Returns
TypeDescription
ApplicationConfigs.Builder

getApplicationConfigsOrBuilder()

public ApplicationConfigsOrBuilder getApplicationConfigsOrBuilder()

Application graph configuration.

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

Returns
TypeDescription
ApplicationConfigsOrBuilder

getBillingMode()

public Application.BillingMode getBillingMode()

Billing mode of the application.

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

Returns
TypeDescription
Application.BillingMode

The billingMode.

getBillingModeValue()

public int getBillingModeValue()

Billing mode of the application.

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

Returns
TypeDescription
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;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Application getDefaultInstanceForType()
Returns
TypeDescription
Application

getDescription()

public String getDescription()

A description for this application.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description for this application.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. A user friendly display name for the solution.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. A user friendly display name for the solution.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs

map<string, string> labels = 4;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

name of resource

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

name of resource

string name = 1;

Returns
TypeDescription
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.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Returns
TypeDescription
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.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Returns
TypeDescription
Application.ApplicationRuntimeInfo.Builder

getRuntimeInfoOrBuilder()

public Application.ApplicationRuntimeInfoOrBuilder getRuntimeInfoOrBuilder()

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

.google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Returns
TypeDescription
Application.ApplicationRuntimeInfoOrBuilder

getState()

public Application.State getState()

Output only. State of the application.

.google.events.cloud.visionai.v1.Application.State state = 9;

Returns
TypeDescription
Application.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the application.

.google.events.cloud.visionai.v1.Application.State state = 9;

Returns
TypeDescription
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;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasApplicationConfigs()

public boolean hasApplicationConfigs()

Application graph configuration.

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

Returns
TypeDescription
boolean

Whether the applicationConfigs field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
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.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Returns
TypeDescription
boolean

Whether the runtimeInfo field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeApplicationConfigs(ApplicationConfigs value)

public Application.Builder mergeApplicationConfigs(ApplicationConfigs value)

Application graph configuration.

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

Parameter
NameDescription
valueApplicationConfigs
Returns
TypeDescription
Application.Builder

mergeCreateTime(Timestamp value)

public Application.Builder mergeCreateTime(Timestamp value)

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Application.Builder

mergeFrom(Application other)

public Application.Builder mergeFrom(Application other)
Parameter
NameDescription
otherApplication
Returns
TypeDescription
Application.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Application.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Parameter
NameDescription
valueApplication.ApplicationRuntimeInfo
Returns
TypeDescription
Application.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Application.Builder mergeUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
Application.Builder

removeLabels(String key)

public Application.Builder removeLabels(String key)

Labels as key value pairs

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Application.Builder

setApplicationConfigs(ApplicationConfigs value)

public Application.Builder setApplicationConfigs(ApplicationConfigs value)

Application graph configuration.

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

Parameter
NameDescription
valueApplicationConfigs
Returns
TypeDescription
Application.Builder

setApplicationConfigs(ApplicationConfigs.Builder builderForValue)

public Application.Builder setApplicationConfigs(ApplicationConfigs.Builder builderForValue)

Application graph configuration.

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

Parameter
NameDescription
builderForValueApplicationConfigs.Builder
Returns
TypeDescription
Application.Builder

setBillingMode(Application.BillingMode value)

public Application.Builder setBillingMode(Application.BillingMode value)

Billing mode of the application.

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

Parameter
NameDescription
valueApplication.BillingMode

The billingMode to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setBillingModeValue(int value)

public Application.Builder setBillingModeValue(int value)

Billing mode of the application.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Application.Builder

setDescription(String value)

public Application.Builder setDescription(String value)

A description for this application.

string description = 6;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Application.Builder setDescriptionBytes(ByteString value)

A description for this application.

string description = 6;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Application.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.Builder
Overrides

setName(String value)

public Application.Builder setName(String value)

name of resource

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Application.Builder setNameBytes(ByteString value)

name of resource

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Parameter
NameDescription
valueApplication.ApplicationRuntimeInfo
Returns
TypeDescription
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.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo runtime_info = 8;

Parameter
NameDescription
builderForValueApplication.ApplicationRuntimeInfo.Builder
Returns
TypeDescription
Application.Builder

setState(Application.State value)

public Application.Builder setState(Application.State value)

Output only. State of the application.

.google.events.cloud.visionai.v1.Application.State state = 9;

Parameter
NameDescription
valueApplication.State

The state to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setStateValue(int value)

public Application.Builder setStateValue(int value)

Output only. State of the application.

.google.events.cloud.visionai.v1.Application.State state = 9;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Application.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.Builder
Overrides

setUpdateTime(Timestamp value)

public Application.Builder setUpdateTime(Timestamp value)

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Application.Builder