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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcipSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
build()
public GcipSettings build()
buildPartial()
public GcipSettings buildPartial()
clear()
public GcipSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcipSettings.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public GcipSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public GcipSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public GcipSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GcipSettings other)
public GcipSettings.Builder mergeFrom(GcipSettings other)
public GcipSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GcipSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcipSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcipSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcipSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GcipSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides