Class ServicePerimeterConfig.EgressFrom (1.55.0)

public static final class ServicePerimeterConfig.EgressFrom extends GeneratedMessageV3 implements ServicePerimeterConfig.EgressFromOrBuilder

Defines the conditions under which an [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter], then that [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] must have an [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] which allows access in order for this request to succeed.

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

Inheritance

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

Static Fields

IDENTITIES_FIELD_NUMBER

public static final int IDENTITIES_FIELD_NUMBER
Field Value
Type Description
int

IDENTITY_TYPE_FIELD_NUMBER

public static final int IDENTITY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ServicePerimeterConfig.EgressFrom getDefaultInstance()
Returns
Type Description
ServicePerimeterConfig.EgressFrom

getDescriptor()

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

newBuilder()

public static ServicePerimeterConfig.EgressFrom.Builder newBuilder()
Returns
Type Description
ServicePerimeterConfig.EgressFrom.Builder

newBuilder(ServicePerimeterConfig.EgressFrom prototype)

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

parseDelimitedFrom(InputStream input)

public static ServicePerimeterConfig.EgressFrom parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServicePerimeterConfig.EgressFrom
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ServicePerimeterConfig.EgressFrom parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ServicePerimeterConfig.EgressFrom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ServicePerimeterConfig.EgressFrom parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ServicePerimeterConfig.EgressFrom
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ServicePerimeterConfig.EgressFrom parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServicePerimeterConfig.EgressFrom
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ServicePerimeterConfig.EgressFrom parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ServicePerimeterConfig.EgressFrom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ServicePerimeterConfig.EgressFrom> parser()
Returns
Type Description
Parser<EgressFrom>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ServicePerimeterConfig.EgressFrom getDefaultInstanceForType()
Returns
Type Description
ServicePerimeterConfig.EgressFrom

getIdentities(int index)

public String getIdentities(int index)

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

repeated string identities = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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 [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only.

repeated string identities = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the identities at the given index.

getIdentitiesCount()

public int getIdentitiesCount()

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

repeated string identities = 1;

Returns
Type Description
int

The count of identities.

getIdentitiesList()

public ProtocolStringList getIdentitiesList()

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

repeated string identities = 1;

Returns
Type Description
ProtocolStringList

A list containing the identities.

getIdentityType()

public ServicePerimeterConfig.IdentityType getIdentityType()

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

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

Returns
Type Description
ServicePerimeterConfig.IdentityType

The identityType.

getIdentityTypeValue()

public int getIdentityTypeValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for identityType.

getParserForType()

public Parser<ServicePerimeterConfig.EgressFrom> getParserForType()
Returns
Type Description
Parser<EgressFrom>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ServicePerimeterConfig.EgressFrom.Builder newBuilderForType()
Returns
Type Description
ServicePerimeterConfig.EgressFrom.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ServicePerimeterConfig.EgressFrom.Builder toBuilder()
Returns
Type Description
ServicePerimeterConfig.EgressFrom.Builder

writeTo(CodedOutputStream output)

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