Class ServicePerimeterConfig.IngressFrom (1.21.0)

public static final class ServicePerimeterConfig.IngressFrom extends GeneratedMessageV3 implements ServicePerimeterConfig.IngressFromOrBuilder

Defines the conditions under which an [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in sources AND identity related fields in order to match.

Protobuf type google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServicePerimeterConfig.IngressFrom

Static Fields

IDENTITIES_FIELD_NUMBER

public static final int IDENTITIES_FIELD_NUMBER
Field Value
TypeDescription
int

IDENTITY_TYPE_FIELD_NUMBER

public static final int IDENTITY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCES_FIELD_NUMBER

public static final int SOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServicePerimeterConfig.IngressFrom getDefaultInstance()
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ServicePerimeterConfig.IngressFrom.Builder newBuilder()
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom.Builder

newBuilder(ServicePerimeterConfig.IngressFrom prototype)

public static ServicePerimeterConfig.IngressFrom.Builder newBuilder(ServicePerimeterConfig.IngressFrom prototype)
Parameter
NameDescription
prototypeServicePerimeterConfig.IngressFrom
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom.Builder

parseDelimitedFrom(InputStream input)

public static ServicePerimeterConfig.IngressFrom parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServicePerimeterConfig.IngressFrom parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServicePerimeterConfig.IngressFrom parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServicePerimeterConfig.IngressFrom parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServicePerimeterConfig.IngressFrom parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServicePerimeterConfig.IngressFrom parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServicePerimeterConfig.IngressFrom parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServicePerimeterConfig.IngressFrom parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServicePerimeterConfig.IngressFrom parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServicePerimeterConfig.IngressFrom parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServicePerimeterConfig.IngressFrom parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServicePerimeterConfig.IngressFrom parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServicePerimeterConfig.IngressFrom> parser()
Returns
TypeDescription
Parser<IngressFrom>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ServicePerimeterConfig.IngressFrom getDefaultInstanceForType()
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom

getIdentities(int index)

public String getIdentities(int index)

A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.

repeated string identities = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The identities at the given index.

getIdentitiesBytes(int index)

public ByteString getIdentitiesBytes(int index)

A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.

repeated string identities = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the identities at the given index.

getIdentitiesCount()

public int getIdentitiesCount()

A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.

repeated string identities = 2;

Returns
TypeDescription
int

The count of identities.

getIdentitiesList()

public ProtocolStringList getIdentitiesList()

A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.

repeated string identities = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the identities.

getIdentityType()

public ServicePerimeterConfig.IdentityType getIdentityType()

Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType identity_type = 3;

Returns
TypeDescription
ServicePerimeterConfig.IdentityType

The identityType.

getIdentityTypeValue()

public int getIdentityTypeValue()

Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType identity_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for identityType.

getParserForType()

public Parser<ServicePerimeterConfig.IngressFrom> getParserForType()
Returns
TypeDescription
Parser<IngressFrom>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSources(int index)

public ServicePerimeterConfig.IngressSource getSources(int index)

Sources that this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] authorizes access from.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource sources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeterConfig.IngressSource

getSourcesCount()

public int getSourcesCount()

Sources that this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] authorizes access from.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource sources = 1;

Returns
TypeDescription
int

getSourcesList()

public List<ServicePerimeterConfig.IngressSource> getSourcesList()

Sources that this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] authorizes access from.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource sources = 1;

Returns
TypeDescription
List<IngressSource>

getSourcesOrBuilder(int index)

public ServicePerimeterConfig.IngressSourceOrBuilder getSourcesOrBuilder(int index)

Sources that this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] authorizes access from.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource sources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeterConfig.IngressSourceOrBuilder

getSourcesOrBuilderList()

public List<? extends ServicePerimeterConfig.IngressSourceOrBuilder> getSourcesOrBuilderList()

Sources that this [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] authorizes access from.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource sources = 1;

Returns
TypeDescription
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSourceOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServicePerimeterConfig.IngressFrom.Builder newBuilderForType()
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServicePerimeterConfig.IngressFrom.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServicePerimeterConfig.IngressFrom.Builder toBuilder()
Returns
TypeDescription
ServicePerimeterConfig.IngressFrom.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException