Class ServicePerimeterConfig.ApiOperation (1.54.0)

public static final class ServicePerimeterConfig.ApiOperation extends GeneratedMessageV3 implements ServicePerimeterConfig.ApiOperationOrBuilder

Identification for an API Operation.

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

Inheritance

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

Static Fields

METHOD_SELECTORS_FIELD_NUMBER

public static final int METHOD_SELECTORS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ServicePerimeterConfig.ApiOperation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getMethodSelectors(int index)

public ServicePerimeterConfig.MethodSelector getMethodSelectors(int index)

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.MethodSelector

getMethodSelectorsCount()

public int getMethodSelectorsCount()

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Returns
Type Description
int

getMethodSelectorsList()

public List<ServicePerimeterConfig.MethodSelector> getMethodSelectorsList()

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Returns
Type Description
List<MethodSelector>

getMethodSelectorsOrBuilder(int index)

public ServicePerimeterConfig.MethodSelectorOrBuilder getMethodSelectorsOrBuilder(int index)

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.MethodSelectorOrBuilder

getMethodSelectorsOrBuilderList()

public List<? extends ServicePerimeterConfig.MethodSelectorOrBuilder> getMethodSelectorsOrBuilderList()

API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector method_selectors = 2;

Returns
Type Description
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelectorOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceName()

public String getServiceName()

The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with service_name field set to * will allow all methods AND permissions for all services.

string service_name = 1;

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with service_name field set to * will allow all methods AND permissions for all services.

string service_name = 1;

Returns
Type Description
ByteString

The bytes for serviceName.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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