Class BackendServiceIAP.Builder

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

public static final class BackendServiceIAP.Builder extends com.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder> implements BackendServiceIAPOrBuilder
 Identity-Aware Proxy
 
Protobuf type google.cloud.compute.v1.BackendServiceIAP
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BackendServiceIAP.Builder>
    • clear

      public BackendServiceIAP.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<BackendServiceIAP.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<BackendServiceIAP.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BackendServiceIAP.Builder mergeFrom(BackendServiceIAP other)
    • isInitialized

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

      public BackendServiceIAP.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<BackendServiceIAP.Builder>
      Throws:
      IOException
    • hasEnabled

      public boolean hasEnabled()
       Whether the serving infrastructure will authenticate and authorize all
       incoming requests.
       
      optional bool enabled = 1018689;
      Specified by:
      hasEnabled in interface BackendServiceIAPOrBuilder
      Returns:
      Whether the enabled field is set.
    • getEnabled

      public boolean getEnabled()
       Whether the serving infrastructure will authenticate and authorize all
       incoming requests.
       
      optional bool enabled = 1018689;
      Specified by:
      getEnabled in interface BackendServiceIAPOrBuilder
      Returns:
      The enabled.
    • setEnabled

      public BackendServiceIAP.Builder setEnabled(boolean value)
       Whether the serving infrastructure will authenticate and authorize all
       incoming requests.
       
      optional bool enabled = 1018689;
      Parameters:
      value - The enabled to set.
      Returns:
      This builder for chaining.
    • clearEnabled

      public BackendServiceIAP.Builder clearEnabled()
       Whether the serving infrastructure will authenticate and authorize all
       incoming requests.
       
      optional bool enabled = 1018689;
      Returns:
      This builder for chaining.
    • hasOauth2ClientId

      public boolean hasOauth2ClientId()
       OAuth2 client ID to use for the authentication flow.
       
      optional string oauth2_client_id = 314017611;
      Specified by:
      hasOauth2ClientId in interface BackendServiceIAPOrBuilder
      Returns:
      Whether the oauth2ClientId field is set.
    • getOauth2ClientId

      public String getOauth2ClientId()
       OAuth2 client ID to use for the authentication flow.
       
      optional string oauth2_client_id = 314017611;
      Specified by:
      getOauth2ClientId in interface BackendServiceIAPOrBuilder
      Returns:
      The oauth2ClientId.
    • getOauth2ClientIdBytes

      public com.google.protobuf.ByteString getOauth2ClientIdBytes()
       OAuth2 client ID to use for the authentication flow.
       
      optional string oauth2_client_id = 314017611;
      Specified by:
      getOauth2ClientIdBytes in interface BackendServiceIAPOrBuilder
      Returns:
      The bytes for oauth2ClientId.
    • setOauth2ClientId

      public BackendServiceIAP.Builder setOauth2ClientId(String value)
       OAuth2 client ID to use for the authentication flow.
       
      optional string oauth2_client_id = 314017611;
      Parameters:
      value - The oauth2ClientId to set.
      Returns:
      This builder for chaining.
    • clearOauth2ClientId

      public BackendServiceIAP.Builder clearOauth2ClientId()
       OAuth2 client ID to use for the authentication flow.
       
      optional string oauth2_client_id = 314017611;
      Returns:
      This builder for chaining.
    • setOauth2ClientIdBytes

      public BackendServiceIAP.Builder setOauth2ClientIdBytes(com.google.protobuf.ByteString value)
       OAuth2 client ID to use for the authentication flow.
       
      optional string oauth2_client_id = 314017611;
      Parameters:
      value - The bytes for oauth2ClientId to set.
      Returns:
      This builder for chaining.
    • hasOauth2ClientSecret

      public boolean hasOauth2ClientSecret()
       OAuth2 client secret to use for the authentication flow.
       For security reasons, this value cannot be retrieved via the API.
       Instead, the SHA-256 hash of the value is returned in the
       oauth2ClientSecretSha256 field.
      
       @InputOnly
       
      optional string oauth2_client_secret = 50999520;
      Specified by:
      hasOauth2ClientSecret in interface BackendServiceIAPOrBuilder
      Returns:
      Whether the oauth2ClientSecret field is set.
    • getOauth2ClientSecret

      public String getOauth2ClientSecret()
       OAuth2 client secret to use for the authentication flow.
       For security reasons, this value cannot be retrieved via the API.
       Instead, the SHA-256 hash of the value is returned in the
       oauth2ClientSecretSha256 field.
      
       @InputOnly
       
      optional string oauth2_client_secret = 50999520;
      Specified by:
      getOauth2ClientSecret in interface BackendServiceIAPOrBuilder
      Returns:
      The oauth2ClientSecret.
    • getOauth2ClientSecretBytes

      public com.google.protobuf.ByteString getOauth2ClientSecretBytes()
       OAuth2 client secret to use for the authentication flow.
       For security reasons, this value cannot be retrieved via the API.
       Instead, the SHA-256 hash of the value is returned in the
       oauth2ClientSecretSha256 field.
      
       @InputOnly
       
      optional string oauth2_client_secret = 50999520;
      Specified by:
      getOauth2ClientSecretBytes in interface BackendServiceIAPOrBuilder
      Returns:
      The bytes for oauth2ClientSecret.
    • setOauth2ClientSecret

      public BackendServiceIAP.Builder setOauth2ClientSecret(String value)
       OAuth2 client secret to use for the authentication flow.
       For security reasons, this value cannot be retrieved via the API.
       Instead, the SHA-256 hash of the value is returned in the
       oauth2ClientSecretSha256 field.
      
       @InputOnly
       
      optional string oauth2_client_secret = 50999520;
      Parameters:
      value - The oauth2ClientSecret to set.
      Returns:
      This builder for chaining.
    • clearOauth2ClientSecret

      public BackendServiceIAP.Builder clearOauth2ClientSecret()
       OAuth2 client secret to use for the authentication flow.
       For security reasons, this value cannot be retrieved via the API.
       Instead, the SHA-256 hash of the value is returned in the
       oauth2ClientSecretSha256 field.
      
       @InputOnly
       
      optional string oauth2_client_secret = 50999520;
      Returns:
      This builder for chaining.
    • setOauth2ClientSecretBytes

      public BackendServiceIAP.Builder setOauth2ClientSecretBytes(com.google.protobuf.ByteString value)
       OAuth2 client secret to use for the authentication flow.
       For security reasons, this value cannot be retrieved via the API.
       Instead, the SHA-256 hash of the value is returned in the
       oauth2ClientSecretSha256 field.
      
       @InputOnly
       
      optional string oauth2_client_secret = 50999520;
      Parameters:
      value - The bytes for oauth2ClientSecret to set.
      Returns:
      This builder for chaining.
    • hasOauth2ClientSecretSha256

      public boolean hasOauth2ClientSecretSha256()
       Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
       
      optional string oauth2_client_secret_sha256 = 112903782;
      Specified by:
      hasOauth2ClientSecretSha256 in interface BackendServiceIAPOrBuilder
      Returns:
      Whether the oauth2ClientSecretSha256 field is set.
    • getOauth2ClientSecretSha256

      public String getOauth2ClientSecretSha256()
       Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
       
      optional string oauth2_client_secret_sha256 = 112903782;
      Specified by:
      getOauth2ClientSecretSha256 in interface BackendServiceIAPOrBuilder
      Returns:
      The oauth2ClientSecretSha256.
    • getOauth2ClientSecretSha256Bytes

      public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes()
       Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
       
      optional string oauth2_client_secret_sha256 = 112903782;
      Specified by:
      getOauth2ClientSecretSha256Bytes in interface BackendServiceIAPOrBuilder
      Returns:
      The bytes for oauth2ClientSecretSha256.
    • setOauth2ClientSecretSha256

      public BackendServiceIAP.Builder setOauth2ClientSecretSha256(String value)
       Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
       
      optional string oauth2_client_secret_sha256 = 112903782;
      Parameters:
      value - The oauth2ClientSecretSha256 to set.
      Returns:
      This builder for chaining.
    • clearOauth2ClientSecretSha256

      public BackendServiceIAP.Builder clearOauth2ClientSecretSha256()
       Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
       
      optional string oauth2_client_secret_sha256 = 112903782;
      Returns:
      This builder for chaining.
    • setOauth2ClientSecretSha256Bytes

      public BackendServiceIAP.Builder setOauth2ClientSecretSha256Bytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
       
      optional string oauth2_client_secret_sha256 = 112903782;
      Parameters:
      value - The bytes for oauth2ClientSecretSha256 to set.
      Returns:
      This builder for chaining.