Package com.google.rpc.context
Class AttributeContext.Resource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AttributeContext.Resource,AttributeContext.Resource.Builder>
com.google.rpc.context.AttributeContext.Resource.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,AttributeContext.ResourceOrBuilder
,Cloneable
- Enclosing class:
- AttributeContext.Resource
public static final class AttributeContext.Resource.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AttributeContext.Resource,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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.Mutable.Output only.Immutable.The stable identifier (name) of a resource on the `service`.The name of the service that this resource belongs to, such as `pubsub.googleapis.com`.The type of the resource.clearUid()
The unique identifier of the resource.Output only.boolean
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.Deprecated.int
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.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.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
Output only.com.google.protobuf.Timestamp
Output only.Mutable.com.google.protobuf.ByteString
Mutable.getEtag()
Output only.com.google.protobuf.ByteString
Output only.Deprecated.int
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.getLabelsOrDefault
(String key, String defaultValue) The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.getLabelsOrThrow
(String key) The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.Immutable.com.google.protobuf.ByteString
Immutable.getName()
The stable identifier (name) of a resource on the `service`.com.google.protobuf.ByteString
The stable identifier (name) of a resource on the `service`.The name of the service that this resource belongs to, such as `pubsub.googleapis.com`.com.google.protobuf.ByteString
The name of the service that this resource belongs to, such as `pubsub.googleapis.com`.getType()
The type of the resource.com.google.protobuf.ByteString
The type of the resource.getUid()
The unique identifier of the resource.com.google.protobuf.ByteString
The unique identifier of the resource.com.google.protobuf.Timestamp
Output only.boolean
Output only.boolean
Output only.boolean
Output only.mergeCreateTime
(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime
(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime
(com.google.protobuf.Timestamp value) Output only.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.putAllLabels
(Map<String, String> values) The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.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.The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.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.removeLabels
(String key) The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.setCreateTime
(com.google.protobuf.Timestamp value) Output only.setCreateTime
(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteTime
(com.google.protobuf.Timestamp value) Output only.setDeleteTime
(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName
(String value) Mutable.setDisplayNameBytes
(com.google.protobuf.ByteString value) Mutable.Output only.setEtagBytes
(com.google.protobuf.ByteString value) Output only.setLocation
(String value) Immutable.setLocationBytes
(com.google.protobuf.ByteString value) Immutable.The stable identifier (name) of a resource on the `service`.setNameBytes
(com.google.protobuf.ByteString value) The stable identifier (name) of a resource on the `service`.setService
(String value) The name of the service that this resource belongs to, such as `pubsub.googleapis.com`.setServiceBytes
(com.google.protobuf.ByteString value) The name of the service that this resource belongs to, such as `pubsub.googleapis.com`.The type of the resource.setTypeBytes
(com.google.protobuf.ByteString value) The type of the resource.The unique identifier of the resource.setUidBytes
(com.google.protobuf.ByteString value) The unique identifier of the resource.setUpdateTime
(com.google.protobuf.Timestamp value) Output only.setUpdateTime
(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 [json_name = "service"];
- Specified by:
getService
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The service.
-
getServiceBytes
public 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 [json_name = "service"];
- Specified by:
getServiceBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for service.
-
setService
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 [json_name = "service"];
- Parameters:
value
- The service to set.- Returns:
- This builder for chaining.
-
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 [json_name = "service"];
- Returns:
- This builder for chaining.
-
setServiceBytes
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 [json_name = "service"];
- Parameters:
value
- The bytes for service to set.- Returns:
- This builder for chaining.
-
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 [json_name = "name"];
- Specified by:
getName
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for name.
-
setName
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 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
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 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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}", such as "pubsub.googleapis.com/Topic".
string type = 3 [json_name = "type"];
- Specified by:
getType
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The type.
-
getTypeBytes
public 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}", such as "pubsub.googleapis.com/Topic".
string type = 3 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for type.
-
setType
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}", such as "pubsub.googleapis.com/Topic".
string type = 3 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
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}", such as "pubsub.googleapis.com/Topic".
string type = 3 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
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}", such as "pubsub.googleapis.com/Topic".
string type = 3 [json_name = "type"];
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:AttributeContext.ResourceOrBuilder
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
- Specified by:
getLabelsCount
in interfaceAttributeContext.ResourceOrBuilder
-
containsLabels
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
- Specified by:
containsLabels
in interfaceAttributeContext.ResourceOrBuilder
-
clearLabels
-
removeLabels
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
-
getLabels
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAttributeContext.ResourceOrBuilder
-
getLabelsMap
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
- Specified by:
getLabelsMap
in interfaceAttributeContext.ResourceOrBuilder
-
getLabelsOrDefault
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
- Specified by:
getLabelsOrDefault
in interfaceAttributeContext.ResourceOrBuilder
-
getLabelsOrThrow
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
- Specified by:
getLabelsOrThrow
in interfaceAttributeContext.ResourceOrBuilder
-
putLabels
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
-
putAllLabels
The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.
map<string, string> labels = 4 [json_name = "labels"];
-
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 [json_name = "uid"];
- Specified by:
getUid
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The uid.
-
getUidBytes
public 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 [json_name = "uid"];
- Specified by:
getUidBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for uid.
-
setUid
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 [json_name = "uid"];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
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 [json_name = "uid"];
- Returns:
- This builder for chaining.
-
setUidBytes
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 [json_name = "uid"];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:AttributeContext.ResourceOrBuilder
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 [json_name = "annotations"];
- Specified by:
getAnnotationsCount
in interfaceAttributeContext.ResourceOrBuilder
-
containsAnnotations
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 [json_name = "annotations"];
- Specified by:
containsAnnotations
in interfaceAttributeContext.ResourceOrBuilder
-
clearAnnotations
-
removeAnnotations
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 [json_name = "annotations"];
-
getAnnotations
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceAttributeContext.ResourceOrBuilder
-
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 [json_name = "annotations"];
- Specified by:
getAnnotationsMap
in interfaceAttributeContext.ResourceOrBuilder
-
getAnnotationsOrDefault
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 [json_name = "annotations"];
- Specified by:
getAnnotationsOrDefault
in interfaceAttributeContext.ResourceOrBuilder
-
getAnnotationsOrThrow
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 [json_name = "annotations"];
- Specified by:
getAnnotationsOrThrow
in interfaceAttributeContext.ResourceOrBuilder
-
putAnnotations
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 [json_name = "annotations"];
-
putAllAnnotations
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 [json_name = "annotations"];
-
getDisplayName
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7 [json_name = "displayName"];
- Specified by:
getDisplayName
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7 [json_name = "displayName"];
- Specified by:
getDisplayNameBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7 [json_name = "displayName"];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7 [json_name = "displayName"];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Mutable. The display name set by clients. Must be <= 63 characters.
string display_name = 7 [json_name = "displayName"];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
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 [json_name = "createTime"];
- Specified by:
hasCreateTime
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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 [json_name = "createTime"];
- Specified by:
getCreateTime
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The createTime.
-
setCreateTime
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 [json_name = "createTime"];
-
setCreateTime
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 [json_name = "createTime"];
-
mergeCreateTime
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 [json_name = "createTime"];
-
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 [json_name = "createTime"];
-
hasUpdateTime
public 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 [json_name = "updateTime"];
- Specified by:
hasUpdateTime
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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 [json_name = "updateTime"];
- Specified by:
getUpdateTime
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
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 [json_name = "updateTime"];
-
setUpdateTime
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 [json_name = "updateTime"];
-
mergeUpdateTime
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 [json_name = "updateTime"];
-
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 [json_name = "updateTime"];
-
hasDeleteTime
public 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 [json_name = "deleteTime"];
- Specified by:
hasDeleteTime
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public 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 [json_name = "deleteTime"];
- Specified by:
getDeleteTime
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
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 [json_name = "deleteTime"];
-
setDeleteTime
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 [json_name = "deleteTime"];
-
mergeDeleteTime
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 [json_name = "deleteTime"];
-
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 [json_name = "deleteTime"];
-
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 [json_name = "etag"];
- Specified by:
getEtag
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public 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 [json_name = "etag"];
- Specified by:
getEtagBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
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 [json_name = "etag"];
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
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 [json_name = "etag"];
- Returns:
- This builder for chaining.
-
setEtagBytes
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 [json_name = "etag"];
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
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 [json_name = "location"];
- Specified by:
getLocation
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The location.
-
getLocationBytes
public 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 [json_name = "location"];
- Specified by:
getLocationBytes
in interfaceAttributeContext.ResourceOrBuilder
- Returns:
- The bytes for location.
-
setLocation
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 [json_name = "location"];
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
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 [json_name = "location"];
- Returns:
- This builder for chaining.
-
setLocationBytes
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 [json_name = "location"];
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-