Class ServicePerimeterConfig.VpcAccessibleServices (1.9.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
TypeDescription
int

ENABLE_RESTRICTION_FIELD_NUMBER

public static final int ENABLE_RESTRICTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ServicePerimeterConfig.VpcAccessibleServices prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the allowedServices.

getDefaultInstanceForType()

public ServicePerimeterConfig.VpcAccessibleServices getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enableRestriction.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.VpcAccessibleServices.Builder newBuilderForType()
Returns
TypeDescription
ServicePerimeterConfig.VpcAccessibleServices.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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