public static final class AllowedDomainsSettings.Builder extends GeneratedMessageV3.Builder<AllowedDomainsSettings.Builder> implements AllowedDomainsSettingsOrBuilder
Configuration for IAP allowed domains. Lets you to restrict access to an app
and allow access to only the domains that you list.
Protobuf type google.cloud.iap.v1.AllowedDomainsSettings
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
addAllDomains(Iterable<String> values)
public AllowedDomainsSettings.Builder addAllDomains(Iterable<String> values)
List of trusted domains.
repeated string domains = 2;
addDomains(String value)
public AllowedDomainsSettings.Builder addDomains(String value)
List of trusted domains.
repeated string domains = 2;
Parameter |
Name |
Description |
value |
String
The domains to add.
|
addDomainsBytes(ByteString value)
public AllowedDomainsSettings.Builder addDomainsBytes(ByteString value)
List of trusted domains.
repeated string domains = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes of the domains to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllowedDomainsSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AllowedDomainsSettings build()
buildPartial()
public AllowedDomainsSettings buildPartial()
clear()
public AllowedDomainsSettings.Builder clear()
Overrides
clearDomains()
public AllowedDomainsSettings.Builder clearDomains()
List of trusted domains.
repeated string domains = 2;
clearEnable()
public AllowedDomainsSettings.Builder clearEnable()
Configuration for customers to opt in for the feature.
optional bool enable = 1;
clearField(Descriptors.FieldDescriptor field)
public AllowedDomainsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AllowedDomainsSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AllowedDomainsSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public AllowedDomainsSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDomains(int index)
public String getDomains(int index)
List of trusted domains.
repeated string domains = 2;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The domains at the given index.
|
getDomainsBytes(int index)
public ByteString getDomainsBytes(int index)
List of trusted domains.
repeated string domains = 2;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the domains at the given index.
|
getDomainsCount()
public int getDomainsCount()
List of trusted domains.
repeated string domains = 2;
Returns |
Type |
Description |
int |
The count of domains.
|
getDomainsList()
public ProtocolStringList getDomainsList()
List of trusted domains.
repeated string domains = 2;
getEnable()
public boolean getEnable()
Configuration for customers to opt in for the feature.
optional bool enable = 1;
Returns |
Type |
Description |
boolean |
The enable.
|
hasEnable()
public boolean hasEnable()
Configuration for customers to opt in for the feature.
optional bool enable = 1;
Returns |
Type |
Description |
boolean |
Whether the enable field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AllowedDomainsSettings other)
public AllowedDomainsSettings.Builder mergeFrom(AllowedDomainsSettings other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllowedDomainsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AllowedDomainsSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllowedDomainsSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDomains(int index, String value)
public AllowedDomainsSettings.Builder setDomains(int index, String value)
List of trusted domains.
repeated string domains = 2;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The domains to set.
|
setEnable(boolean value)
public AllowedDomainsSettings.Builder setEnable(boolean value)
Configuration for customers to opt in for the feature.
optional bool enable = 1;
Parameter |
Name |
Description |
value |
boolean
The enable to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AllowedDomainsSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllowedDomainsSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AllowedDomainsSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides