Package com.google.cloud.recommender.v1
Class InsightTypeConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
- com.google.cloud.recommender.v1.InsightTypeConfig.Builder
-
- All Implemented Interfaces:
InsightTypeConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InsightTypeConfig
public static final class InsightTypeConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder> implements InsightTypeConfigOrBuilder
Configuration for an InsightType.
Protobuf typegoogle.cloud.recommender.v1.InsightTypeConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InsightTypeConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InsightTypeConfig
build()
InsightTypeConfig
buildPartial()
InsightTypeConfig.Builder
clear()
InsightTypeConfig.Builder
clearAnnotations()
InsightTypeConfig.Builder
clearDisplayName()
A user-settable field to provide a human-readable name to be used in user interfaces.InsightTypeConfig.Builder
clearEtag()
Fingerprint of the InsightTypeConfig.InsightTypeConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InsightTypeConfig.Builder
clearInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.InsightTypeConfig.Builder
clearName()
Name of insight type config.InsightTypeConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InsightTypeConfig.Builder
clearRevisionId()
Output only.InsightTypeConfig.Builder
clearUpdateTime()
Last time when the config was updated.InsightTypeConfig.Builder
clone()
boolean
containsAnnotations(String key)
Allows clients to store small amounts of arbitrary data.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Allows clients to store small amounts of arbitrary data.Map<String,String>
getAnnotationsMap()
Allows clients to store small amounts of arbitrary data.String
getAnnotationsOrDefault(String key, String defaultValue)
Allows clients to store small amounts of arbitrary data.String
getAnnotationsOrThrow(String key)
Allows clients to store small amounts of arbitrary data.InsightTypeConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
A user-settable field to provide a human-readable name to be used in user interfaces.com.google.protobuf.ByteString
getDisplayNameBytes()
A user-settable field to provide a human-readable name to be used in user interfaces.String
getEtag()
Fingerprint of the InsightTypeConfig.com.google.protobuf.ByteString
getEtagBytes()
Fingerprint of the InsightTypeConfig.InsightTypeGenerationConfig
getInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.InsightTypeGenerationConfig.Builder
getInsightTypeGenerationConfigBuilder()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.InsightTypeGenerationConfigOrBuilder
getInsightTypeGenerationConfigOrBuilder()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.Map<String,String>
getMutableAnnotations()
Deprecated.String
getName()
Name of insight type config.com.google.protobuf.ByteString
getNameBytes()
Name of insight type config.String
getRevisionId()
Output only.com.google.protobuf.ByteString
getRevisionIdBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Last time when the config was updated.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Last time when the config was updated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Last time when the config was updated.boolean
hasInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.boolean
hasUpdateTime()
Last time when the config was updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
InsightTypeConfig.Builder
mergeFrom(InsightTypeConfig other)
InsightTypeConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InsightTypeConfig.Builder
mergeFrom(com.google.protobuf.Message other)
InsightTypeConfig.Builder
mergeInsightTypeGenerationConfig(InsightTypeGenerationConfig value)
InsightTypeGenerationConfig which configures the generation of insights for this insight type.InsightTypeConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InsightTypeConfig.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Last time when the config was updated.InsightTypeConfig.Builder
putAllAnnotations(Map<String,String> values)
Allows clients to store small amounts of arbitrary data.InsightTypeConfig.Builder
putAnnotations(String key, String value)
Allows clients to store small amounts of arbitrary data.InsightTypeConfig.Builder
removeAnnotations(String key)
Allows clients to store small amounts of arbitrary data.InsightTypeConfig.Builder
setDisplayName(String value)
A user-settable field to provide a human-readable name to be used in user interfaces.InsightTypeConfig.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
A user-settable field to provide a human-readable name to be used in user interfaces.InsightTypeConfig.Builder
setEtag(String value)
Fingerprint of the InsightTypeConfig.InsightTypeConfig.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Fingerprint of the InsightTypeConfig.InsightTypeConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InsightTypeConfig.Builder
setInsightTypeGenerationConfig(InsightTypeGenerationConfig value)
InsightTypeGenerationConfig which configures the generation of insights for this insight type.InsightTypeConfig.Builder
setInsightTypeGenerationConfig(InsightTypeGenerationConfig.Builder builderForValue)
InsightTypeGenerationConfig which configures the generation of insights for this insight type.InsightTypeConfig.Builder
setName(String value)
Name of insight type config.InsightTypeConfig.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of insight type config.InsightTypeConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InsightTypeConfig.Builder
setRevisionId(String value)
Output only.InsightTypeConfig.Builder
setRevisionIdBytes(com.google.protobuf.ByteString value)
Output only.InsightTypeConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InsightTypeConfig.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Last time when the config was updated.InsightTypeConfig.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time when the config was updated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
clear
public InsightTypeConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
getDefaultInstanceForType
public InsightTypeConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InsightTypeConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InsightTypeConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InsightTypeConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
setField
public InsightTypeConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
clearField
public InsightTypeConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
clearOneof
public InsightTypeConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
setRepeatedField
public InsightTypeConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
addRepeatedField
public InsightTypeConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
mergeFrom
public InsightTypeConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InsightTypeConfig.Builder>
-
mergeFrom
public InsightTypeConfig.Builder mergeFrom(InsightTypeConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
mergeFrom
public InsightTypeConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InsightTypeConfig.Builder>
- Throws:
IOException
-
getName
public String getName()
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Specified by:
getName
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Specified by:
getNameBytes
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
public InsightTypeConfig.Builder setName(String value)
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public InsightTypeConfig.Builder clearName()
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public InsightTypeConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasInsightTypeGenerationConfig
public boolean hasInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
- Specified by:
hasInsightTypeGenerationConfig
in interfaceInsightTypeConfigOrBuilder
- Returns:
- Whether the insightTypeGenerationConfig field is set.
-
getInsightTypeGenerationConfig
public InsightTypeGenerationConfig getInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
- Specified by:
getInsightTypeGenerationConfig
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The insightTypeGenerationConfig.
-
setInsightTypeGenerationConfig
public InsightTypeConfig.Builder setInsightTypeGenerationConfig(InsightTypeGenerationConfig value)
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
-
setInsightTypeGenerationConfig
public InsightTypeConfig.Builder setInsightTypeGenerationConfig(InsightTypeGenerationConfig.Builder builderForValue)
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
-
mergeInsightTypeGenerationConfig
public InsightTypeConfig.Builder mergeInsightTypeGenerationConfig(InsightTypeGenerationConfig value)
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
-
clearInsightTypeGenerationConfig
public InsightTypeConfig.Builder clearInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
-
getInsightTypeGenerationConfigBuilder
public InsightTypeGenerationConfig.Builder getInsightTypeGenerationConfigBuilder()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
-
getInsightTypeGenerationConfigOrBuilder
public InsightTypeGenerationConfigOrBuilder getInsightTypeGenerationConfigOrBuilder()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1.InsightTypeGenerationConfig insight_type_generation_config = 2;
- Specified by:
getInsightTypeGenerationConfigOrBuilder
in interfaceInsightTypeConfigOrBuilder
-
getEtag
public String getEtag()
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Specified by:
getEtag
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Specified by:
getEtagBytes
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public InsightTypeConfig.Builder setEtag(String value)
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public InsightTypeConfig.Builder clearEtag()
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Returns:
- This builder for chaining.
-
setEtagBytes
public InsightTypeConfig.Builder setEtagBytes(com.google.protobuf.ByteString value)
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
- Specified by:
hasUpdateTime
in interfaceInsightTypeConfigOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
- Specified by:
getUpdateTime
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public InsightTypeConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
-
setUpdateTime
public InsightTypeConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
-
mergeUpdateTime
public InsightTypeConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
-
clearUpdateTime
public InsightTypeConfig.Builder clearUpdateTime()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
- Specified by:
getUpdateTimeOrBuilder
in interfaceInsightTypeConfigOrBuilder
-
getRevisionId
public String getRevisionId()
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRevisionId
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRevisionIdBytes
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The bytes for revisionId.
-
setRevisionId
public InsightTypeConfig.Builder setRevisionId(String value)
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
public InsightTypeConfig.Builder clearRevisionId()
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setRevisionIdBytes
public InsightTypeConfig.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
string revision_id = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:InsightTypeConfigOrBuilder
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsCount
in interfaceInsightTypeConfigOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
- Specified by:
containsAnnotations
in interfaceInsightTypeConfigOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceInsightTypeConfigOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsMap
in interfaceInsightTypeConfigOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsOrDefault
in interfaceInsightTypeConfigOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsOrThrow
in interfaceInsightTypeConfigOrBuilder
-
clearAnnotations
public InsightTypeConfig.Builder clearAnnotations()
-
removeAnnotations
public InsightTypeConfig.Builder removeAnnotations(String key)
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public InsightTypeConfig.Builder putAnnotations(String key, String value)
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
-
putAllAnnotations
public InsightTypeConfig.Builder putAllAnnotations(Map<String,String> values)
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 6;
-
getDisplayName
public String getDisplayName()
A user-settable field to provide a human-readable name to be used in user interfaces.
string display_name = 7;
- Specified by:
getDisplayName
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
A user-settable field to provide a human-readable name to be used in user interfaces.
string display_name = 7;
- Specified by:
getDisplayNameBytes
in interfaceInsightTypeConfigOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public InsightTypeConfig.Builder setDisplayName(String value)
A user-settable field to provide a human-readable name to be used in user interfaces.
string display_name = 7;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public InsightTypeConfig.Builder clearDisplayName()
A user-settable field to provide a human-readable name to be used in user interfaces.
string display_name = 7;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public InsightTypeConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
A user-settable field to provide a human-readable name to be used in user interfaces.
string display_name = 7;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final InsightTypeConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
mergeUnknownFields
public final InsightTypeConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InsightTypeConfig.Builder>
-
-