Interface InsightTypeConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InsightTypeConfig
,InsightTypeConfig.Builder
public interface InsightTypeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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.InsightTypeGenerationConfigOrBuilder
getInsightTypeGenerationConfigOrBuilder()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
string name = 1;
- Returns:
- The bytes for name.
-
hasInsightTypeGenerationConfig
boolean hasInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1beta1.InsightTypeGenerationConfig insight_type_generation_config = 2;
- Returns:
- Whether the insightTypeGenerationConfig field is set.
-
getInsightTypeGenerationConfig
InsightTypeGenerationConfig getInsightTypeGenerationConfig()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1beta1.InsightTypeGenerationConfig insight_type_generation_config = 2;
- Returns:
- The insightTypeGenerationConfig.
-
getInsightTypeGenerationConfigOrBuilder
InsightTypeGenerationConfigOrBuilder getInsightTypeGenerationConfigOrBuilder()
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
.google.cloud.recommender.v1beta1.InsightTypeGenerationConfig insight_type_generation_config = 2;
-
getEtag
String getEtag()
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
string etag = 3;
- Returns:
- The bytes for etag.
-
hasUpdateTime
boolean hasUpdateTime()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Last time when the config was updated.
.google.protobuf.Timestamp update_time = 4;
-
getRevisionId
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];
- Returns:
- The revisionId.
-
getRevisionIdBytes
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];
- Returns:
- The bytes for revisionId.
-
getAnnotationsCount
int getAnnotationsCount()
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;
-
containsAnnotations
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;
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.
-
getAnnotationsMap
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;
-
getAnnotationsOrDefault
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;
-
getAnnotationsOrThrow
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;
-
getDisplayName
String getDisplayName()
A user-settable field to provide a human-readable name to be used in user interfaces.
string display_name = 7;
- Returns:
- The displayName.
-
getDisplayNameBytes
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;
- Returns:
- The bytes for displayName.
-
-