Interface InsightTypeConfigOrBuilder (2.18.0)

public interface InsightTypeConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations()

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public abstract 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;

Returns
TypeDescription
int

getAnnotationsMap()

public abstract 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;

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract 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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getDisplayName()

public abstract String getDisplayName()

A user-settable field to provide a human-readable name to be used in user interfaces.

string display_name = 7;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

A user-settable field to provide a human-readable name to be used in user interfaces.

string display_name = 7;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEtag()

public abstract String getEtag()

Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.

string etag = 3;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.

string etag = 3;

Returns
TypeDescription
ByteString

The bytes for etag.

getInsightTypeGenerationConfig()

public abstract InsightTypeGenerationConfig getInsightTypeGenerationConfig()

InsightTypeGenerationConfig which configures the generation of insights for this insight type.

.google.cloud.recommender.v1beta1.InsightTypeGenerationConfig insight_type_generation_config = 2;

Returns
TypeDescription
InsightTypeGenerationConfig

The insightTypeGenerationConfig.

getInsightTypeGenerationConfigOrBuilder()

public abstract InsightTypeGenerationConfigOrBuilder getInsightTypeGenerationConfigOrBuilder()

InsightTypeGenerationConfig which configures the generation of insights for this insight type.

.google.cloud.recommender.v1beta1.InsightTypeGenerationConfig insight_type_generation_config = 2;

Returns
TypeDescription
InsightTypeGenerationConfigOrBuilder

getName()

public abstract String getName()

Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRevisionId()

public abstract 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
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for revisionId.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Last time when the config was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Last time when the config was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasInsightTypeGenerationConfig()

public abstract boolean hasInsightTypeGenerationConfig()

InsightTypeGenerationConfig which configures the generation of insights for this insight type.

.google.cloud.recommender.v1beta1.InsightTypeGenerationConfig insight_type_generation_config = 2;

Returns
TypeDescription
boolean

Whether the insightTypeGenerationConfig field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Last time when the config was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
boolean

Whether the updateTime field is set.