Package com.google.cloud.iap.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllTenantIds(Iterable<String> values) Optional.addTenantIds(String value) Optional.addTenantIdsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Login page URI associated with the GCIP tenants.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StringValueLogin page URI associated with the GCIP tenants.com.google.protobuf.StringValue.BuilderLogin page URI associated with the GCIP tenants.com.google.protobuf.StringValueOrBuilderLogin page URI associated with the GCIP tenants.getTenantIds(int index) Optional.com.google.protobuf.ByteStringgetTenantIdsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanLogin page URI associated with the GCIP tenants.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GcipSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLoginPageUri(com.google.protobuf.StringValue value) Login page URI associated with the GCIP tenants.setLoginPageUri(com.google.protobuf.StringValue value) Login page URI associated with the GCIP tenants.setLoginPageUri(com.google.protobuf.StringValue.Builder builderForValue) Login page URI associated with the GCIP tenants.setTenantIds(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GcipSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GcipSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GcipSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcipSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getTenantIdsListin interfaceGcipSettingsOrBuilder- 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:
getTenantIdsCountin interfaceGcipSettingsOrBuilder- Returns:
- The count of tenantIds.
-
getTenantIds
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:
getTenantIdsin interfaceGcipSettingsOrBuilder- 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:
getTenantIdsBytesin interfaceGcipSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tenantIds at the given index.
-
setTenantIds
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
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
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
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
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:
hasLoginPageUriin interfaceGcipSettingsOrBuilder- 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:
getLoginPageUriin interfaceGcipSettingsOrBuilder- Returns:
- The loginPageUri.
-
setLoginPageUri
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
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
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:
getLoginPageUriOrBuilderin interfaceGcipSettingsOrBuilder
-