Class ServicePerimeterConfig.VpcAccessibleServices (1.49.0)

public static final class ServicePerimeterConfig.VpcAccessibleServices extends GeneratedMessageV3 implements ServicePerimeterConfig.VpcAccessibleServicesOrBuilder

Specifies how APIs are allowed to communicate within the Service Perimeter.

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

Inheritance

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

Static Fields

ALLOWED_SERVICES_FIELD_NUMBER

public static final int ALLOWED_SERVICES_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_RESTRICTION_FIELD_NUMBER

public static final int ENABLE_RESTRICTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ServicePerimeterConfig.VpcAccessibleServices prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAllowedServices(int index)

public String getAllowedServices(int index)

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedServices at the given index.

getAllowedServicesBytes(int index)

public ByteString getAllowedServicesBytes(int index)

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedServices at the given index.

getAllowedServicesCount()

public int getAllowedServicesCount()

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Returns
Type Description
int

The count of allowedServices.

getAllowedServicesList()

public ProtocolStringList getAllowedServicesList()

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Returns
Type Description
ProtocolStringList

A list containing the allowedServices.

getDefaultInstanceForType()

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

getEnableRestriction()

public boolean getEnableRestriction()

Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.

bool enable_restriction = 1;

Returns
Type Description
boolean

The enableRestriction.

getParserForType()

public Parser<ServicePerimeterConfig.VpcAccessibleServices> getParserForType()
Returns
Type Description
Parser<VpcAccessibleServices>
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.VpcAccessibleServices.Builder newBuilderForType()
Returns
Type Description
ServicePerimeterConfig.VpcAccessibleServices.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServicePerimeterConfig.VpcAccessibleServices.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ServicePerimeterConfig.VpcAccessibleServices.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.VpcAccessibleServices.Builder toBuilder()
Returns
Type Description
ServicePerimeterConfig.VpcAccessibleServices.Builder

writeTo(CodedOutputStream output)

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