public static final class AttributeContext.Resource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder> implements AttributeContext.ResourceOrBuilder
This message defines core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a file stored on a network storage service.Protobuf type
google.rpc.context.AttributeContext.Resource| Modifier and Type | Method and Description |
|---|---|
AttributeContext.Resource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.Resource |
build() |
AttributeContext.Resource |
buildPartial() |
AttributeContext.Resource.Builder |
clear() |
AttributeContext.Resource.Builder |
clearAnnotations() |
AttributeContext.Resource.Builder |
clearCreateTime()
Output only.
|
AttributeContext.Resource.Builder |
clearDeleteTime()
Output only.
|
AttributeContext.Resource.Builder |
clearDisplayName()
Mutable.
|
AttributeContext.Resource.Builder |
clearEtag()
Output only.
|
AttributeContext.Resource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AttributeContext.Resource.Builder |
clearLabels() |
AttributeContext.Resource.Builder |
clearLocation()
Immutable.
|
AttributeContext.Resource.Builder |
clearName()
The stable identifier (name) of a resource on the `service`.
|
AttributeContext.Resource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttributeContext.Resource.Builder |
clearService()
The name of the service that this resource belongs to, such as
`pubsub.googleapis.com`.
|
AttributeContext.Resource.Builder |
clearType()
The type of the resource.
|
AttributeContext.Resource.Builder |
clearUid()
The unique identifier of the resource.
|
AttributeContext.Resource.Builder |
clearUpdateTime()
Output only.
|
AttributeContext.Resource.Builder |
clone() |
boolean |
containsAnnotations(String key)
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
boolean |
containsLabels(String key)
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
Map<String,String> |
getAnnotationsMap()
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
String |
getAnnotationsOrThrow(String key)
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
AttributeContext.Resource |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Mutable.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Mutable.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
Map<String,String> |
getLabelsMap()
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
String |
getLabelsOrThrow(String key)
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
String |
getLocation()
Immutable.
|
com.google.protobuf.ByteString |
getLocationBytes()
Immutable.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
The stable identifier (name) of a resource on the `service`.
|
com.google.protobuf.ByteString |
getNameBytes()
The stable identifier (name) of a resource on the `service`.
|
String |
getService()
The name of the service that this resource belongs to, such as
`pubsub.googleapis.com`.
|
com.google.protobuf.ByteString |
getServiceBytes()
The name of the service that this resource belongs to, such as
`pubsub.googleapis.com`.
|
String |
getType()
The type of the resource.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of the resource.
|
String |
getUid()
The unique identifier of the resource.
|
com.google.protobuf.ByteString |
getUidBytes()
The unique identifier of the resource.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
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() |
AttributeContext.Resource.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
AttributeContext.Resource.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
AttributeContext.Resource.Builder |
mergeFrom(AttributeContext.Resource other) |
AttributeContext.Resource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttributeContext.Resource.Builder |
mergeFrom(com.google.protobuf.Message other) |
AttributeContext.Resource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AttributeContext.Resource.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
AttributeContext.Resource.Builder |
putAllAnnotations(Map<String,String> values)
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
AttributeContext.Resource.Builder |
putAllLabels(Map<String,String> values)
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
AttributeContext.Resource.Builder |
putAnnotations(String key,
String value)
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
AttributeContext.Resource.Builder |
putLabels(String key,
String value)
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
AttributeContext.Resource.Builder |
removeAnnotations(String key)
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
|
AttributeContext.Resource.Builder |
removeLabels(String key)
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
|
AttributeContext.Resource.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AttributeContext.Resource.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
AttributeContext.Resource.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AttributeContext.Resource.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
AttributeContext.Resource.Builder |
setDisplayName(String value)
Mutable.
|
AttributeContext.Resource.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Mutable.
|
AttributeContext.Resource.Builder |
setEtag(String value)
Output only.
|
AttributeContext.Resource.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
AttributeContext.Resource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeContext.Resource.Builder |
setLocation(String value)
Immutable.
|
AttributeContext.Resource.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
Immutable.
|
AttributeContext.Resource.Builder |
setName(String value)
The stable identifier (name) of a resource on the `service`.
|
AttributeContext.Resource.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The stable identifier (name) of a resource on the `service`.
|
AttributeContext.Resource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AttributeContext.Resource.Builder |
setService(String value)
The name of the service that this resource belongs to, such as
`pubsub.googleapis.com`.
|
AttributeContext.Resource.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
The name of the service that this resource belongs to, such as
`pubsub.googleapis.com`.
|
AttributeContext.Resource.Builder |
setType(String value)
The type of the resource.
|
AttributeContext.Resource.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
The type of the resource.
|
AttributeContext.Resource.Builder |
setUid(String value)
The unique identifier of the resource.
|
AttributeContext.Resource.Builder |
setUidBytes(com.google.protobuf.ByteString value)
The unique identifier of the resource.
|
AttributeContext.Resource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AttributeContext.Resource.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AttributeContext.Resource.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AttributeContext.Resource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.Resource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AttributeContext.Resource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder mergeFrom(AttributeContext.Resource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public AttributeContext.Resource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Resource.Builder>IOExceptionpublic String getService()
The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request.
string service = 1;getService in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request.
string service = 1;getServiceBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setService(String value)
The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request.
string service = 1;value - The service to set.public AttributeContext.Resource.Builder clearService()
The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request.
string service = 1;public AttributeContext.Resource.Builder setServiceBytes(com.google.protobuf.ByteString value)
The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request.
string service = 1;value - The bytes for service to set.public String getName()
The stable identifier (name) of a resource on the `service`. A resource
can be logically identified as "//{resource.service}/{resource.name}".
The differences between a resource name and a URI are:
* Resource name is a logical identifier, independent of network
protocol and API version. For example,
`//pubsub.googleapis.com/projects/123/topics/news-feed`.
* URI often includes protocol and version information, so it can
be used directly by applications. For example,
`https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
See https://cloud.google.com/apis/design/resource_names for details.
string name = 2;getName in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The stable identifier (name) of a resource on the `service`. A resource
can be logically identified as "//{resource.service}/{resource.name}".
The differences between a resource name and a URI are:
* Resource name is a logical identifier, independent of network
protocol and API version. For example,
`//pubsub.googleapis.com/projects/123/topics/news-feed`.
* URI often includes protocol and version information, so it can
be used directly by applications. For example,
`https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
See https://cloud.google.com/apis/design/resource_names for details.
string name = 2;getNameBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setName(String value)
The stable identifier (name) of a resource on the `service`. A resource
can be logically identified as "//{resource.service}/{resource.name}".
The differences between a resource name and a URI are:
* Resource name is a logical identifier, independent of network
protocol and API version. For example,
`//pubsub.googleapis.com/projects/123/topics/news-feed`.
* URI often includes protocol and version information, so it can
be used directly by applications. For example,
`https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
See https://cloud.google.com/apis/design/resource_names for details.
string name = 2;value - The name to set.public AttributeContext.Resource.Builder clearName()
The stable identifier (name) of a resource on the `service`. A resource
can be logically identified as "//{resource.service}/{resource.name}".
The differences between a resource name and a URI are:
* Resource name is a logical identifier, independent of network
protocol and API version. For example,
`//pubsub.googleapis.com/projects/123/topics/news-feed`.
* URI often includes protocol and version information, so it can
be used directly by applications. For example,
`https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
See https://cloud.google.com/apis/design/resource_names for details.
string name = 2;public AttributeContext.Resource.Builder setNameBytes(com.google.protobuf.ByteString value)
The stable identifier (name) of a resource on the `service`. A resource
can be logically identified as "//{resource.service}/{resource.name}".
The differences between a resource name and a URI are:
* Resource name is a logical identifier, independent of network
protocol and API version. For example,
`//pubsub.googleapis.com/projects/123/topics/news-feed`.
* URI often includes protocol and version information, so it can
be used directly by applications. For example,
`https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
See https://cloud.google.com/apis/design/resource_names for details.
string name = 2;value - The bytes for name to set.public String getType()
The type of the resource. The syntax is platform-specific because
different platforms define their resources differently.
For Google APIs, the type format must be "{service}/{kind}".
string type = 3;getType in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type of the resource. The syntax is platform-specific because
different platforms define their resources differently.
For Google APIs, the type format must be "{service}/{kind}".
string type = 3;getTypeBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setType(String value)
The type of the resource. The syntax is platform-specific because
different platforms define their resources differently.
For Google APIs, the type format must be "{service}/{kind}".
string type = 3;value - The type to set.public AttributeContext.Resource.Builder clearType()
The type of the resource. The syntax is platform-specific because
different platforms define their resources differently.
For Google APIs, the type format must be "{service}/{kind}".
string type = 3;public AttributeContext.Resource.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type of the resource. The syntax is platform-specific because
different platforms define their resources differently.
For Google APIs, the type format must be "{service}/{kind}".
string type = 3;value - The bytes for type to set.public int getLabelsCount()
AttributeContext.ResourceOrBuilderThe labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;getLabelsCount in interface AttributeContext.ResourceOrBuilderpublic boolean containsLabels(String key)
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;containsLabels in interface AttributeContext.ResourceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AttributeContext.ResourceOrBuilderpublic Map<String,String> getLabelsMap()
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;getLabelsMap in interface AttributeContext.ResourceOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;getLabelsOrDefault in interface AttributeContext.ResourceOrBuilderpublic String getLabelsOrThrow(String key)
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;getLabelsOrThrow in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder clearLabels()
public AttributeContext.Resource.Builder removeLabels(String key)
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public AttributeContext.Resource.Builder putLabels(String key, String value)
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;public AttributeContext.Resource.Builder putAllLabels(Map<String,String> values)
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4;public String getUid()
The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 5;getUid in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 5;getUidBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setUid(String value)
The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 5;value - The uid to set.public AttributeContext.Resource.Builder clearUid()
The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 5;public AttributeContext.Resource.Builder setUidBytes(com.google.protobuf.ByteString value)
The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
string uid = 5;value - The bytes for uid to set.public int getAnnotationsCount()
AttributeContext.ResourceOrBuilderAnnotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;getAnnotationsCount in interface AttributeContext.ResourceOrBuilderpublic boolean containsAnnotations(String key)
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;containsAnnotations in interface AttributeContext.ResourceOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface AttributeContext.ResourceOrBuilderpublic Map<String,String> getAnnotationsMap()
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;getAnnotationsMap in interface AttributeContext.ResourceOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;getAnnotationsOrDefault in interface AttributeContext.ResourceOrBuilderpublic String getAnnotationsOrThrow(String key)
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;getAnnotationsOrThrow in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder clearAnnotations()
public AttributeContext.Resource.Builder removeAnnotations(String key)
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;@Deprecated public Map<String,String> getMutableAnnotations()
public AttributeContext.Resource.Builder putAnnotations(String key, String value)
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;public AttributeContext.Resource.Builder putAllAnnotations(Map<String,String> values)
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
map<string, string> annotations = 6;public String getDisplayName()
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7;getDisplayName in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7;getDisplayNameBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setDisplayName(String value)
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7;value - The displayName to set.public AttributeContext.Resource.Builder clearDisplayName()
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7;public AttributeContext.Resource.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7;value - The bytes for displayName to set.public boolean hasCreateTime()
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;hasCreateTime in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;getCreateTime in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;public AttributeContext.Resource.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;public AttributeContext.Resource.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;public AttributeContext.Resource.Builder clearCreateTime()
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.
.google.protobuf.Timestamp create_time = 8;getCreateTimeOrBuilder in interface AttributeContext.ResourceOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;hasUpdateTime in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;getUpdateTime in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;public AttributeContext.Resource.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;public AttributeContext.Resource.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;public AttributeContext.Resource.Builder clearUpdateTime()
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
.google.protobuf.Timestamp update_time = 9;getUpdateTimeOrBuilder in interface AttributeContext.ResourceOrBuilderpublic boolean hasDeleteTime()
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;hasDeleteTime in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;getDeleteTime in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;public AttributeContext.Resource.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;public AttributeContext.Resource.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;public AttributeContext.Resource.Builder clearDeleteTime()
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.
.google.protobuf.Timestamp delete_time = 10;getDeleteTimeOrBuilder in interface AttributeContext.ResourceOrBuilderpublic String getEtag()
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 11;getEtag in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 11;getEtagBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setEtag(String value)
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 11;value - The etag to set.public AttributeContext.Resource.Builder clearEtag()
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 11;public AttributeContext.Resource.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
string etag = 11;value - The bytes for etag to set.public String getLocation()
Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the `cloud.googleapis.com/location` label used by some Google Cloud APIs.
string location = 12;getLocation in interface AttributeContext.ResourceOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the `cloud.googleapis.com/location` label used by some Google Cloud APIs.
string location = 12;getLocationBytes in interface AttributeContext.ResourceOrBuilderpublic AttributeContext.Resource.Builder setLocation(String value)
Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the `cloud.googleapis.com/location` label used by some Google Cloud APIs.
string location = 12;value - The location to set.public AttributeContext.Resource.Builder clearLocation()
Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the `cloud.googleapis.com/location` label used by some Google Cloud APIs.
string location = 12;public AttributeContext.Resource.Builder setLocationBytes(com.google.protobuf.ByteString value)
Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the `cloud.googleapis.com/location` label used by some Google Cloud APIs.
string location = 12;value - The bytes for location to set.public final AttributeContext.Resource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>public final AttributeContext.Resource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>Copyright © 2022 Google LLC. All rights reserved.