Class GcipSettings.Builder

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

public static final class GcipSettings.Builder extends com.google.protobuf.GeneratedMessage.Builder<GcipSettings.Builder> implements GcipSettingsOrBuilder
 Allows customers to configure tenant IDs for a Cloud Identity Platform (GCIP)
 instance for each application.
 
Protobuf type google.cloud.iap.v1.GcipSettings
  • 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<GcipSettings.Builder>
    • clear

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

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

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

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

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

      public GcipSettings.Builder mergeFrom(GcipSettings other)
    • isInitialized

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

      public GcipSettings.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<GcipSettings.Builder>
      Throws:
      IOException
    • getTenantIdsList

      public com.google.protobuf.ProtocolStringList getTenantIdsList()
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTenantIdsList in interface GcipSettingsOrBuilder
      Returns:
      A list containing the tenantIds.
    • getTenantIdsCount

      public int getTenantIdsCount()
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTenantIdsCount in interface GcipSettingsOrBuilder
      Returns:
      The count of tenantIds.
    • getTenantIds

      public String getTenantIds(int index)
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTenantIds in interface GcipSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tenantIds at the given index.
    • getTenantIdsBytes

      public com.google.protobuf.ByteString getTenantIdsBytes(int index)
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTenantIdsBytes in interface GcipSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tenantIds at the given index.
    • setTenantIds

      public GcipSettings.Builder setTenantIds(int index, String value)
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The tenantIds to set.
      Returns:
      This builder for chaining.
    • addTenantIds

      public GcipSettings.Builder addTenantIds(String value)
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tenantIds to add.
      Returns:
      This builder for chaining.
    • addAllTenantIds

      public GcipSettings.Builder addAllTenantIds(Iterable<String> values)
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The tenantIds to add.
      Returns:
      This builder for chaining.
    • clearTenantIds

      public GcipSettings.Builder clearTenantIds()
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addTenantIdsBytes

      public GcipSettings.Builder addTenantIdsBytes(com.google.protobuf.ByteString value)
       Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids`
       could be a string beginning with a number character to indicate
       authenticating with GCIP tenant flow, or in the format of
       `_<ProjectNumber>` to indicate authenticating with GCIP agent flow. If
       agent flow is used, `tenant_ids` should only contain one single element,
       while for tenant flow, `tenant_ids` can contain multiple elements.
       
      repeated string tenant_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the tenantIds to add.
      Returns:
      This builder for chaining.
    • hasLoginPageUri

      public boolean hasLoginPageUri()
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
      Specified by:
      hasLoginPageUri in interface GcipSettingsOrBuilder
      Returns:
      Whether the loginPageUri field is set.
    • getLoginPageUri

      public com.google.protobuf.StringValue getLoginPageUri()
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
      Specified by:
      getLoginPageUri in interface GcipSettingsOrBuilder
      Returns:
      The loginPageUri.
    • setLoginPageUri

      public GcipSettings.Builder setLoginPageUri(com.google.protobuf.StringValue value)
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
    • setLoginPageUri

      public GcipSettings.Builder setLoginPageUri(com.google.protobuf.StringValue.Builder builderForValue)
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
    • mergeLoginPageUri

      public GcipSettings.Builder mergeLoginPageUri(com.google.protobuf.StringValue value)
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
    • clearLoginPageUri

      public GcipSettings.Builder clearLoginPageUri()
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
    • getLoginPageUriBuilder

      public com.google.protobuf.StringValue.Builder getLoginPageUriBuilder()
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
    • getLoginPageUriOrBuilder

      public com.google.protobuf.StringValueOrBuilder getLoginPageUriOrBuilder()
       Login page URI associated with the GCIP tenants.
       Typically, all resources within the same project share the same login page,
       though it could be overridden at the sub resource level.
       
      .google.protobuf.StringValue login_page_uri = 2;
      Specified by:
      getLoginPageUriOrBuilder in interface GcipSettingsOrBuilder