Class BackendAuthenticationConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackendAuthenticationConfig.Builder>
com.google.cloud.networksecurity.v1.BackendAuthenticationConfig.Builder
All Implemented Interfaces:
BackendAuthenticationConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BackendAuthenticationConfig

public static final class BackendAuthenticationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<BackendAuthenticationConfig.Builder> implements BackendAuthenticationConfigOrBuilder
 BackendAuthenticationConfig message groups the TrustConfig together with
 other settings that control how the load balancer authenticates, and
 expresses its identity to, the backend:

 * `trustConfig` is the attached TrustConfig.

 * `wellKnownRoots` indicates whether the load balance should trust backend
 server certificates that are issued by public certificate authorities, in
 addition to certificates trusted by the TrustConfig.

 * `clientCertificate` is a client certificate that the load balancer uses to
 express its identity to the backend, if the connection to the backend uses
 mTLS.

 You can attach the BackendAuthenticationConfig to the load balancer's
 BackendService directly determining how that BackendService negotiates TLS.
 
Protobuf type google.cloud.networksecurity.v1.BackendAuthenticationConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackendAuthenticationConfig.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackendAuthenticationConfig.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BackendAuthenticationConfig.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.GeneratedMessage.Builder<BackendAuthenticationConfig.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.GeneratedMessage.Builder<BackendAuthenticationConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BackendAuthenticationConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BackendAuthenticationConfig.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<BackendAuthenticationConfig.Builder>
    • mergeFrom

    • isInitialized

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

      public BackendAuthenticationConfig.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<BackendAuthenticationConfig.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. Name of the BackendAuthenticationConfig resource. It matches the
       pattern
       `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Name of the BackendAuthenticationConfig resource. It matches the
       pattern
       `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. Name of the BackendAuthenticationConfig resource. It matches the
       pattern
       `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. Name of the BackendAuthenticationConfig resource. It matches the
       pattern
       `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public BackendAuthenticationConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Name of the BackendAuthenticationConfig resource. It matches the
       pattern
       `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public BackendAuthenticationConfig.Builder setDescription(String value)
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public BackendAuthenticationConfig.Builder clearDescription()
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public BackendAuthenticationConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Free-text description of the resource.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface BackendAuthenticationConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public BackendAuthenticationConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public BackendAuthenticationConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public BackendAuthenticationConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public BackendAuthenticationConfig.Builder clearCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface BackendAuthenticationConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface BackendAuthenticationConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public BackendAuthenticationConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public BackendAuthenticationConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public BackendAuthenticationConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public BackendAuthenticationConfig.Builder clearUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface BackendAuthenticationConfigOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: BackendAuthenticationConfigOrBuilder
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsCount in interface BackendAuthenticationConfigOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
      Specified by:
      containsLabels in interface BackendAuthenticationConfigOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsMap in interface BackendAuthenticationConfigOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrDefault in interface BackendAuthenticationConfigOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
      Specified by:
      getLabelsOrThrow in interface BackendAuthenticationConfigOrBuilder
    • clearLabels

    • removeLabels

      public BackendAuthenticationConfig.Builder removeLabels(String key)
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
    • getMutableLabels

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

      public BackendAuthenticationConfig.Builder putLabels(String key, String value)
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
    • putAllLabels

      public BackendAuthenticationConfig.Builder putAllLabels(Map<String,String> values)
       Set of label tags associated with the resource.
       
      map<string, string> labels = 5;
    • getClientCertificate

      public String getClientCertificate()
       Optional. A reference to a certificatemanager.googleapis.com.Certificate
       resource. This is a relative resource path following the form
       "projects/{project}/locations/{location}/certificates/{certificate}".
      
       Used by a BackendService to negotiate mTLS when the backend connection uses
       TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
       scope.
       
      string client_certificate = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getClientCertificate in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The clientCertificate.
    • getClientCertificateBytes

      public com.google.protobuf.ByteString getClientCertificateBytes()
       Optional. A reference to a certificatemanager.googleapis.com.Certificate
       resource. This is a relative resource path following the form
       "projects/{project}/locations/{location}/certificates/{certificate}".
      
       Used by a BackendService to negotiate mTLS when the backend connection uses
       TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
       scope.
       
      string client_certificate = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getClientCertificateBytes in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The bytes for clientCertificate.
    • setClientCertificate

      public BackendAuthenticationConfig.Builder setClientCertificate(String value)
       Optional. A reference to a certificatemanager.googleapis.com.Certificate
       resource. This is a relative resource path following the form
       "projects/{project}/locations/{location}/certificates/{certificate}".
      
       Used by a BackendService to negotiate mTLS when the backend connection uses
       TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
       scope.
       
      string client_certificate = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The clientCertificate to set.
      Returns:
      This builder for chaining.
    • clearClientCertificate

      public BackendAuthenticationConfig.Builder clearClientCertificate()
       Optional. A reference to a certificatemanager.googleapis.com.Certificate
       resource. This is a relative resource path following the form
       "projects/{project}/locations/{location}/certificates/{certificate}".
      
       Used by a BackendService to negotiate mTLS when the backend connection uses
       TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
       scope.
       
      string client_certificate = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setClientCertificateBytes

      public BackendAuthenticationConfig.Builder setClientCertificateBytes(com.google.protobuf.ByteString value)
       Optional. A reference to a certificatemanager.googleapis.com.Certificate
       resource. This is a relative resource path following the form
       "projects/{project}/locations/{location}/certificates/{certificate}".
      
       Used by a BackendService to negotiate mTLS when the backend connection uses
       TLS and the backend requests a client certificate. Must have a CLIENT_AUTH
       scope.
       
      string client_certificate = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for clientCertificate to set.
      Returns:
      This builder for chaining.
    • getTrustConfig

      public String getTrustConfig()
       Optional. A reference to a TrustConfig resource from the
       certificatemanager.googleapis.com namespace. This is a relative resource
       path following the form
       "projects/{project}/locations/{location}/trustConfigs/{trust_config}".
      
       A BackendService uses the chain of trust represented by this TrustConfig,
       if specified, to validate the server certificates presented by the backend.
       Required unless wellKnownRoots is set to PUBLIC_ROOTS.
       
      string trust_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getTrustConfig in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The trustConfig.
    • getTrustConfigBytes

      public com.google.protobuf.ByteString getTrustConfigBytes()
       Optional. A reference to a TrustConfig resource from the
       certificatemanager.googleapis.com namespace. This is a relative resource
       path following the form
       "projects/{project}/locations/{location}/trustConfigs/{trust_config}".
      
       A BackendService uses the chain of trust represented by this TrustConfig,
       if specified, to validate the server certificates presented by the backend.
       Required unless wellKnownRoots is set to PUBLIC_ROOTS.
       
      string trust_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getTrustConfigBytes in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The bytes for trustConfig.
    • setTrustConfig

      public BackendAuthenticationConfig.Builder setTrustConfig(String value)
       Optional. A reference to a TrustConfig resource from the
       certificatemanager.googleapis.com namespace. This is a relative resource
       path following the form
       "projects/{project}/locations/{location}/trustConfigs/{trust_config}".
      
       A BackendService uses the chain of trust represented by this TrustConfig,
       if specified, to validate the server certificates presented by the backend.
       Required unless wellKnownRoots is set to PUBLIC_ROOTS.
       
      string trust_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The trustConfig to set.
      Returns:
      This builder for chaining.
    • clearTrustConfig

      public BackendAuthenticationConfig.Builder clearTrustConfig()
       Optional. A reference to a TrustConfig resource from the
       certificatemanager.googleapis.com namespace. This is a relative resource
       path following the form
       "projects/{project}/locations/{location}/trustConfigs/{trust_config}".
      
       A BackendService uses the chain of trust represented by this TrustConfig,
       if specified, to validate the server certificates presented by the backend.
       Required unless wellKnownRoots is set to PUBLIC_ROOTS.
       
      string trust_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTrustConfigBytes

      public BackendAuthenticationConfig.Builder setTrustConfigBytes(com.google.protobuf.ByteString value)
       Optional. A reference to a TrustConfig resource from the
       certificatemanager.googleapis.com namespace. This is a relative resource
       path following the form
       "projects/{project}/locations/{location}/trustConfigs/{trust_config}".
      
       A BackendService uses the chain of trust represented by this TrustConfig,
       if specified, to validate the server certificates presented by the backend.
       Required unless wellKnownRoots is set to PUBLIC_ROOTS.
       
      string trust_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for trustConfig to set.
      Returns:
      This builder for chaining.
    • getWellKnownRootsValue

      public int getWellKnownRootsValue()
       Well known roots to use for server certificate validation.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots well_known_roots = 8;
      Specified by:
      getWellKnownRootsValue in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for wellKnownRoots.
    • setWellKnownRootsValue

      public BackendAuthenticationConfig.Builder setWellKnownRootsValue(int value)
       Well known roots to use for server certificate validation.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots well_known_roots = 8;
      Parameters:
      value - The enum numeric value on the wire for wellKnownRoots to set.
      Returns:
      This builder for chaining.
    • getWellKnownRoots

      public BackendAuthenticationConfig.WellKnownRoots getWellKnownRoots()
       Well known roots to use for server certificate validation.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots well_known_roots = 8;
      Specified by:
      getWellKnownRoots in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The wellKnownRoots.
    • setWellKnownRoots

       Well known roots to use for server certificate validation.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots well_known_roots = 8;
      Parameters:
      value - The wellKnownRoots to set.
      Returns:
      This builder for chaining.
    • clearWellKnownRoots

      public BackendAuthenticationConfig.Builder clearWellKnownRoots()
       Well known roots to use for server certificate validation.
       
      .google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots well_known_roots = 8;
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       Output only. Etag of the resource.
       
      string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. Etag of the resource.
       
      string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface BackendAuthenticationConfigOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

       Output only. Etag of the resource.
       
      string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

       Output only. Etag of the resource.
       
      string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public BackendAuthenticationConfig.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Output only. Etag of the resource.
       
      string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.