Class AttributeContext.Resource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
com.google.rpc.context.AttributeContext.Resource.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AttributeContext.ResourceOrBuilder, Cloneable
Enclosing class:
AttributeContext.Resource

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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • getDefaultInstanceForType

      public AttributeContext.Resource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AttributeContext.Resource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AttributeContext.Resource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • setField

      public AttributeContext.Resource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • clearField

      public AttributeContext.Resource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • clearOneof

      public AttributeContext.Resource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • setRepeatedField

      public AttributeContext.Resource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • addRepeatedField

      public AttributeContext.Resource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • mergeFrom

      public AttributeContext.Resource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Resource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • mergeFrom

      public AttributeContext.Resource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.Resource.Builder>
      Throws:
      IOException
    • getService

      public 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;
      Specified by:
      getService in interface AttributeContext.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;
      Specified by:
      getServiceBytes in interface AttributeContext.ResourceOrBuilder
      Returns:
      The bytes for service.
    • setService

      public 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;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      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;
      Returns:
      This builder for chaining.
    • setServiceBytes

      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;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • getName

      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;
      Specified by:
      getName in interface AttributeContext.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;
      Specified by:
      getNameBytes in interface AttributeContext.ResourceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public 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;
      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;
      Returns:
      This builder for chaining.
    • setNameBytes

      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;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      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;
      Specified by:
      getType in interface AttributeContext.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}".
       
      string type = 3;
      Specified by:
      getTypeBytes in interface AttributeContext.ResourceOrBuilder
      Returns:
      The bytes for type.
    • setType

      public 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;
      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}".
       
      string type = 3;
      Returns:
      This builder for chaining.
    • setTypeBytes

      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;
      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;
      Specified by:
      getLabelsCount in interface AttributeContext.ResourceOrBuilder
    • containsLabels

      public 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;
      Specified by:
      containsLabels in interface AttributeContext.ResourceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface AttributeContext.ResourceOrBuilder
    • getLabelsMap

      public 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;
      Specified by:
      getLabelsMap in interface AttributeContext.ResourceOrBuilder
    • getLabelsOrDefault

      public 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;
      Specified by:
      getLabelsOrDefault in interface AttributeContext.ResourceOrBuilder
    • getLabelsOrThrow

      public 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;
      Specified by:
      getLabelsOrThrow in interface AttributeContext.ResourceOrBuilder
    • clearLabels

      public AttributeContext.Resource.Builder clearLabels()
    • removeLabels

      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;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      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;
    • putAllLabels

      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;
    • getUid

      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;
      Specified by:
      getUid in interface AttributeContext.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;
      Specified by:
      getUidBytes in interface AttributeContext.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;
      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;
      Returns:
      This builder for chaining.
    • setUidBytes

      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;
      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;
      Specified by:
      getAnnotationsCount in interface AttributeContext.ResourceOrBuilder
    • containsAnnotations

      public 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;
      Specified by:
      containsAnnotations in interface AttributeContext.ResourceOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface AttributeContext.ResourceOrBuilder
    • getAnnotationsMap

      public 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;
      Specified by:
      getAnnotationsMap in interface AttributeContext.ResourceOrBuilder
    • getAnnotationsOrDefault

      public 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;
      Specified by:
      getAnnotationsOrDefault in interface AttributeContext.ResourceOrBuilder
    • getAnnotationsOrThrow

      public 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;
      Specified by:
      getAnnotationsOrThrow in interface AttributeContext.ResourceOrBuilder
    • clearAnnotations

      public AttributeContext.Resource.Builder clearAnnotations()
    • removeAnnotations

      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;
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      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;
    • putAllAnnotations

      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;
    • getDisplayName

      public String getDisplayName()
       Mutable. The display name set by clients. Must be <= 63 characters.
       
      string display_name = 7;
      Specified by:
      getDisplayName in interface AttributeContext.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;
      Specified by:
      getDisplayNameBytes in interface AttributeContext.ResourceOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public AttributeContext.Resource.Builder setDisplayName(String value)
       Mutable. The display name set by clients. Must be <= 63 characters.
       
      string display_name = 7;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public AttributeContext.Resource.Builder clearDisplayName()
       Mutable. The display name set by clients. Must be <= 63 characters.
       
      string display_name = 7;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      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;
      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;
      Specified by:
      hasCreateTime in interface AttributeContext.ResourceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public 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;
      Specified by:
      getCreateTime in interface AttributeContext.ResourceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public AttributeContext.Resource.Builder setCreateTime(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;
    • setCreateTime

      public AttributeContext.Resource.Builder setCreateTime(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;
    • mergeCreateTime

      public AttributeContext.Resource.Builder mergeCreateTime(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;
    • clearCreateTime

      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;
    • getCreateTimeBuilder

      public 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;
    • getCreateTimeOrBuilder

      public 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;
      Specified by:
      getCreateTimeOrBuilder in interface AttributeContext.ResourceOrBuilder
    • 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;
      Specified by:
      hasUpdateTime in interface AttributeContext.ResourceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public 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;
      Specified by:
      getUpdateTime in interface AttributeContext.ResourceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public AttributeContext.Resource.Builder setUpdateTime(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;
    • setUpdateTime

      public AttributeContext.Resource.Builder setUpdateTime(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;
    • mergeUpdateTime

      public AttributeContext.Resource.Builder mergeUpdateTime(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;
    • clearUpdateTime

      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;
    • getUpdateTimeBuilder

      public 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;
    • getUpdateTimeOrBuilder

      public 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;
      Specified by:
      getUpdateTimeOrBuilder in interface AttributeContext.ResourceOrBuilder
    • 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;
      Specified by:
      hasDeleteTime in interface AttributeContext.ResourceOrBuilder
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      public 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;
      Specified by:
      getDeleteTime in interface AttributeContext.ResourceOrBuilder
      Returns:
      The deleteTime.
    • setDeleteTime

      public AttributeContext.Resource.Builder setDeleteTime(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;
    • setDeleteTime

      public AttributeContext.Resource.Builder setDeleteTime(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;
    • mergeDeleteTime

      public AttributeContext.Resource.Builder mergeDeleteTime(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;
    • clearDeleteTime

      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;
    • getDeleteTimeBuilder

      public 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;
    • getDeleteTimeOrBuilder

      public 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;
      Specified by:
      getDeleteTimeOrBuilder in interface AttributeContext.ResourceOrBuilder
    • getEtag

      public 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;
      Specified by:
      getEtag in interface AttributeContext.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;
      Specified by:
      getEtagBytes in interface AttributeContext.ResourceOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public 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;
      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;
      Returns:
      This builder for chaining.
    • setEtagBytes

      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;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getLocation

      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;
      Specified by:
      getLocation in interface AttributeContext.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;
      Specified by:
      getLocationBytes in interface AttributeContext.ResourceOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public 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;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      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;
      Returns:
      This builder for chaining.
    • setLocationBytes

      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;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final AttributeContext.Resource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>
    • mergeUnknownFields

      public final AttributeContext.Resource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Resource.Builder>