Package com.google.cloud.visionai.v1
Class Draft.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Draft.Builder>
com.google.cloud.visionai.v1.Draft.Builder
- All Implemented Interfaces:
DraftOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Draft
public static final class Draft.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Draft.Builder>
implements DraftOrBuilder
Message describing Draft objectProtobuf type
google.cloud.visionai.v1.Draft-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.A description for this application.Required.The draft application configs which haven't been updated to an application.name of resourceOutput only.booleancontainsLabels(String key) Labels as key value pairscom.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.The draft application configs which haven't been updated to an application.The draft application configs which haven't been updated to an application.The draft application configs which haven't been updated to an application.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 resourcecom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanThe draft application configs which haven't been updated to an application.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.The draft application configs which haven't been updated to an application.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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 pairssetCreateTime(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.The draft application configs which haven't been updated to an application.setDraftApplicationConfigs(ApplicationConfigs.Builder builderForValue) The draft application configs which haven't been updated to an application.name of resourcesetNameBytes(com.google.protobuf.ByteString value) name of resourcesetUpdateTime(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<Draft.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Draft.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Draft.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<Draft.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<Draft.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<Draft.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Draft.Builder>
-
mergeFrom
public Draft.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<Draft.Builder>- Throws:
IOException
-
getName
name of resource
string name = 1;- Specified by:
getNamein interfaceDraftOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name of resource
string name = 1;- Specified by:
getNameBytesin interfaceDraftOrBuilder- 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 interfaceDraftOrBuilder- 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 interfaceDraftOrBuilder- 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 interfaceDraftOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDraftOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDraftOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDraftOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DraftOrBuilderLabels as key value pairs
map<string, string> labels = 3;- Specified by:
getLabelsCountin interfaceDraftOrBuilder
-
containsLabels
Labels as key value pairs
map<string, string> labels = 3;- Specified by:
containsLabelsin interfaceDraftOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDraftOrBuilder
-
getLabelsMap
Labels as key value pairs
map<string, string> labels = 3;- Specified by:
getLabelsMapin interfaceDraftOrBuilder
-
getLabelsOrDefault
Labels as key value pairs
map<string, string> labels = 3;- Specified by:
getLabelsOrDefaultin interfaceDraftOrBuilder
-
getLabelsOrThrow
Labels as key value pairs
map<string, string> labels = 3;- Specified by:
getLabelsOrThrowin interfaceDraftOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs
map<string, string> labels = 3; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs
map<string, string> labels = 3; -
putAllLabels
Labels as key value pairs
map<string, string> labels = 3; -
getDisplayName
Required. A user friendly display name for the solution.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceDraftOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. A user friendly display name for the solution.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDraftOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. A user friendly display name for the solution.
string display_name = 4 [(.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 = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. A user friendly display name for the solution.
string display_name = 4 [(.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 = 5;- Specified by:
getDescriptionin interfaceDraftOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description for this application.
string description = 5;- Specified by:
getDescriptionBytesin interfaceDraftOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description for this application.
string description = 5;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description for this application.
string description = 5;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description for this application.
string description = 5;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDraftApplicationConfigs
public boolean hasDraftApplicationConfigs()The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6;- Specified by:
hasDraftApplicationConfigsin interfaceDraftOrBuilder- Returns:
- Whether the draftApplicationConfigs field is set.
-
getDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6;- Specified by:
getDraftApplicationConfigsin interfaceDraftOrBuilder- Returns:
- The draftApplicationConfigs.
-
setDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6; -
setDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6; -
mergeDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6; -
clearDraftApplicationConfigs
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6; -
getDraftApplicationConfigsBuilder
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6; -
getDraftApplicationConfigsOrBuilder
The draft application configs which haven't been updated to an application.
.google.cloud.visionai.v1.ApplicationConfigs draft_application_configs = 6;- Specified by:
getDraftApplicationConfigsOrBuilderin interfaceDraftOrBuilder
-