Class GcipSettings.Builder (0.3.0)

public static final class GcipSettings.Builder extends GeneratedMessageV3.Builder<GcipSettings.Builder> implements GcipSettingsOrBuilder

Allows customers to configure tenant_id for GCIP instance per-app.

Protobuf type google.cloud.iap.v1.GcipSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTenantIds(Iterable<String> values)

public GcipSettings.Builder addAllTenantIds(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The tenantIds to add.

Returns
Type Description
GcipSettings.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcipSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcipSettings.Builder
Overrides

addTenantIds(String value)

public GcipSettings.Builder addTenantIds(String value)

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;

Parameter
Name Description
value String

The tenantIds to add.

Returns
Type Description
GcipSettings.Builder

This builder for chaining.

addTenantIdsBytes(ByteString value)

public GcipSettings.Builder addTenantIdsBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes of the tenantIds to add.

Returns
Type Description
GcipSettings.Builder

This builder for chaining.

build()

public GcipSettings build()
Returns
Type Description
GcipSettings

buildPartial()

public GcipSettings buildPartial()
Returns
Type Description
GcipSettings

clear()

public GcipSettings.Builder clear()
Returns
Type Description
GcipSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GcipSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcipSettings.Builder
Overrides

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;

Returns
Type Description
GcipSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GcipSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GcipSettings.Builder
Overrides

clearTenantIds()

public GcipSettings.Builder clearTenantIds()

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;

Returns
Type Description
GcipSettings.Builder

This builder for chaining.

clone()

public GcipSettings.Builder clone()
Returns
Type Description
GcipSettings.Builder
Overrides

getDefaultInstanceForType()

public GcipSettings getDefaultInstanceForType()
Returns
Type Description
GcipSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLoginPageUri()

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

Returns
Type Description
StringValue

The loginPageUri.

getLoginPageUriBuilder()

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

Returns
Type Description
Builder

getLoginPageUriOrBuilder()

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

Returns
Type Description
StringValueOrBuilder

getTenantIds(int index)

public String getTenantIds(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tenantIds at the given index.

getTenantIdsBytes(int index)

public ByteString getTenantIdsBytes(int index)

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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tenantIds at the given index.

getTenantIdsCount()

public int getTenantIdsCount()

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;

Returns
Type Description
int

The count of tenantIds.

getTenantIdsList()

public ProtocolStringList getTenantIdsList()

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;

Returns
Type Description
ProtocolStringList

A list containing the tenantIds.

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;

Returns
Type Description
boolean

Whether the loginPageUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcipSettings other)

public GcipSettings.Builder mergeFrom(GcipSettings other)
Parameter
Name Description
other GcipSettings
Returns
Type Description
GcipSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcipSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcipSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GcipSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GcipSettings.Builder
Overrides

mergeLoginPageUri(StringValue value)

public GcipSettings.Builder mergeLoginPageUri(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;

Parameter
Name Description
value StringValue
Returns
Type Description
GcipSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcipSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcipSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GcipSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcipSettings.Builder
Overrides

setLoginPageUri(StringValue value)

public GcipSettings.Builder setLoginPageUri(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;

Parameter
Name Description
value StringValue
Returns
Type Description
GcipSettings.Builder

setLoginPageUri(StringValue.Builder builderForValue)

public GcipSettings.Builder setLoginPageUri(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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GcipSettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcipSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GcipSettings.Builder
Overrides

setTenantIds(int index, String value)

public GcipSettings.Builder setTenantIds(int index, String value)

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The tenantIds to set.

Returns
Type Description
GcipSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GcipSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcipSettings.Builder
Overrides