Class AllowedDomainsSettings (0.7.0)

public final class AllowedDomainsSettings extends GeneratedMessageV3 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

Static Fields

DOMAINS_FIELD_NUMBER

public static final int DOMAINS_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_FIELD_NUMBER

public static final int ENABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AllowedDomainsSettings getDefaultInstance()
Returns
Type Description
AllowedDomainsSettings

getDescriptor()

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

newBuilder()

public static AllowedDomainsSettings.Builder newBuilder()
Returns
Type Description
AllowedDomainsSettings.Builder

newBuilder(AllowedDomainsSettings prototype)

public static AllowedDomainsSettings.Builder newBuilder(AllowedDomainsSettings prototype)
Parameter
Name Description
prototype AllowedDomainsSettings
Returns
Type Description
AllowedDomainsSettings.Builder

parseDelimitedFrom(InputStream input)

public static AllowedDomainsSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllowedDomainsSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AllowedDomainsSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AllowedDomainsSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AllowedDomainsSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AllowedDomainsSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AllowedDomainsSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AllowedDomainsSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AllowedDomainsSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllowedDomainsSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AllowedDomainsSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AllowedDomainsSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllowedDomainsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AllowedDomainsSettings> parser()
Returns
Type Description
Parser<AllowedDomainsSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AllowedDomainsSettings getDefaultInstanceForType()
Returns
Type Description
AllowedDomainsSettings

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;

Returns
Type Description
ProtocolStringList

A list containing the domains.

getEnable()

public boolean getEnable()

Configuration for customers to opt in for the feature.

optional bool enable = 1;

Returns
Type Description
boolean

The enable.

getParserForType()

public Parser<AllowedDomainsSettings> getParserForType()
Returns
Type Description
Parser<AllowedDomainsSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AllowedDomainsSettings.Builder newBuilderForType()
Returns
Type Description
AllowedDomainsSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AllowedDomainsSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AllowedDomainsSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AllowedDomainsSettings.Builder toBuilder()
Returns
Type Description
AllowedDomainsSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException