Package com.google.cloud.visionai.v1
Class Application.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Application.Builder>
com.google.cloud.visionai.v1.Application.Builder
- All Implemented Interfaces:
ApplicationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Application
public static final class Application.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Application.Builder>
implements ApplicationOrBuilder
Message describing Application objectProtobuf type
google.cloud.visionai.v1.Application-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Application graph configuration.Billing mode of the application.Output only.A description for this application.Required.name of resourceOutput only.Output only.Output only.booleancontainsLabels(String key) Labels as key value pairsApplication graph configuration.Application graph configuration.Application graph configuration.Billing mode of the application.intBilling mode of the application.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A description for this application.com.google.protobuf.ByteStringA description for this application.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Deprecated.intLabels as key value pairsLabels as key value pairsgetLabelsOrDefault(String key, String defaultValue) Labels as key value pairsgetLabelsOrThrow(String key) Labels as key value pairsDeprecated.getName()name of resourcecom.google.protobuf.ByteStringname of resourceOutput only.Output only.Output only.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanApplication graph configuration.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanApplication graph configuration.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(Application other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels as key value pairsLabels as key value pairsremoveLabels(String key) Labels as key value pairsApplication graph configuration.setApplicationConfigs(ApplicationConfigs.Builder builderForValue) Application graph configuration.Billing mode of the application.setBillingModeValue(int value) Billing mode of the application.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) A description for this application.setDescriptionBytes(com.google.protobuf.ByteString value) A description for this application.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.name of resourcesetNameBytes(com.google.protobuf.ByteString value) name of resourceOutput only.setRuntimeInfo(Application.ApplicationRuntimeInfo.Builder builderForValue) Output only.setState(Application.State value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Application.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Application.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Application.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Application.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Application.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Application.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Application.Builder>
-
mergeFrom
public Application.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Application.Builder>- Throws:
IOException
-
getName
name of resource
string name = 1;- Specified by:
getNamein interfaceApplicationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of resource
string name = 1;- Specified by:
getNameBytesin interfaceApplicationOrBuilder- Returns:
- The bytes for name.
-
setName
name of resource
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
name of resource
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
name of resource
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceApplicationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceApplicationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceApplicationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceApplicationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceApplicationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceApplicationOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ApplicationOrBuilderLabels as key value pairs
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceApplicationOrBuilder
-
containsLabels
Labels as key value pairs
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceApplicationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceApplicationOrBuilder
-
getLabelsMap
Labels as key value pairs
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceApplicationOrBuilder
-
getLabelsOrDefault
Labels as key value pairs
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceApplicationOrBuilder
-
getLabelsOrThrow
Labels as key value pairs
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceApplicationOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs
map<string, string> labels = 4; -
putAllLabels
Labels as key value pairs
map<string, string> labels = 4; -
getDisplayName
Required. A user friendly display name for the solution.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceApplicationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. A user friendly display name for the solution.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceApplicationOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. A user friendly display name for the solution.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. A user friendly display name for the solution.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. A user friendly display name for the solution.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
A description for this application.
string description = 6;- Specified by:
getDescriptionin interfaceApplicationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description for this application.
string description = 6;- Specified by:
getDescriptionBytesin interfaceApplicationOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description for this application.
string description = 6;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description for this application.
string description = 6;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description for this application.
string description = 6;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasApplicationConfigs
public boolean hasApplicationConfigs()Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;- Specified by:
hasApplicationConfigsin interfaceApplicationOrBuilder- Returns:
- Whether the applicationConfigs field is set.
-
getApplicationConfigs
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;- Specified by:
getApplicationConfigsin interfaceApplicationOrBuilder- Returns:
- The applicationConfigs.
-
setApplicationConfigs
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7; -
setApplicationConfigs
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7; -
mergeApplicationConfigs
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7; -
clearApplicationConfigs
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7; -
getApplicationConfigsBuilder
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7; -
getApplicationConfigsOrBuilder
Application graph configuration.
.google.cloud.visionai.v1.ApplicationConfigs application_configs = 7;- Specified by:
getApplicationConfigsOrBuilderin interfaceApplicationOrBuilder
-
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];- Specified by:
hasRuntimeInfoin interfaceApplicationOrBuilder- Returns:
- Whether the runtimeInfo field is set.
-
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];- Specified by:
getRuntimeInfoin interfaceApplicationOrBuilder- Returns:
- The runtimeInfo.
-
setRuntimeInfo
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]; -
setRuntimeInfo
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]; -
mergeRuntimeInfo
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]; -
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]; -
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]; -
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];- Specified by:
getRuntimeInfoOrBuilderin interfaceApplicationOrBuilder
-
getStateValue
public int getStateValue()Output only. State of the application.
.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceApplicationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the application.
.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the application.
.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceApplicationOrBuilder- Returns:
- The state.
-
setState
Output only. State of the application.
.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the application.
.google.cloud.visionai.v1.Application.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getBillingModeValue
public int getBillingModeValue()Billing mode of the application.
.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;- Specified by:
getBillingModeValuein interfaceApplicationOrBuilder- Returns:
- The enum numeric value on the wire for billingMode.
-
setBillingModeValue
Billing mode of the application.
.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;- Parameters:
value- The enum numeric value on the wire for billingMode to set.- Returns:
- This builder for chaining.
-
getBillingMode
Billing mode of the application.
.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;- Specified by:
getBillingModein interfaceApplicationOrBuilder- Returns:
- The billingMode.
-
setBillingMode
Billing mode of the application.
.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;- Parameters:
value- The billingMode to set.- Returns:
- This builder for chaining.
-
clearBillingMode
Billing mode of the application.
.google.cloud.visionai.v1.Application.BillingMode billing_mode = 12;- Returns:
- This builder for chaining.
-