- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public interface ContextOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
The labels with user-defined metadata to organize your Contexts.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
map<string, string> labels = 9;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
Description of the Context
string description = 16;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Description of the Context
string description = 16;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDisplayName()
public abstract String getDisplayName()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public abstract String getEtag()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;
Returns | |
---|---|
Type | Description |
String | The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
The labels with user-defined metadata to organize your Contexts.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
map<string, string> labels = 9;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize your Contexts.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
map<string, string> labels = 9;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your Contexts.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
map<string, string> labels = 9;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Contexts.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
map<string, string> labels = 9;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMetadata()
public abstract Struct getMetadata()
Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 15;
Returns | |
---|---|
Type | Description |
Struct | The metadata. |
getMetadataOrBuilder()
public abstract StructOrBuilder getMetadataOrBuilder()
Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 15;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getName()
public abstract String getName()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getParentContexts(int index)
public abstract String getParentContexts(int index)
Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The parentContexts at the given index. |
getParentContextsBytes(int index)
public abstract ByteString getParentContextsBytes(int index)
Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the parentContexts at the given index. |
getParentContextsCount()
public abstract int getParentContextsCount()
Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int | The count of parentContexts. |
getParentContextsList()
public abstract List<String> getParentContextsList()
Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
List<String> | A list containing the parentContexts. |
getSchemaTitle()
public abstract String getSchemaTitle()
The title of the schema describing the metadata.
Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 13;
Returns | |
---|---|
Type | Description |
String | The schemaTitle. |
getSchemaTitleBytes()
public abstract ByteString getSchemaTitleBytes()
The title of the schema describing the metadata.
Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 13;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for schemaTitle. |
getSchemaVersion()
public abstract String getSchemaVersion()
The version of the schema in schema_name to use.
Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 14;
Returns | |
---|---|
Type | Description |
String | The schemaVersion. |
getSchemaVersionBytes()
public abstract ByteString getSchemaVersionBytes()
The version of the schema in schema_name to use.
Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 14;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for schemaVersion. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasMetadata()
public abstract boolean hasMetadata()
Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 15;
Returns | |
---|---|
Type | Description |
boolean | Whether the metadata field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |