public static final class ServicePerimeterConfig.ApiOperation.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.ApiOperation.Builder> implements ServicePerimeterConfig.ApiOperationOrBuilder
Identification for an API Operation.
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllMethodSelectors(Iterable<? extends ServicePerimeterConfig.MethodSelector> values)
public ServicePerimeterConfig.ApiOperation.Builder addAllMethodSelectors(Iterable<? extends ServicePerimeterConfig.MethodSelector> values)
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 |
values | Iterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector>
|
Returns
addMethodSelectors(ServicePerimeterConfig.MethodSelector value)
public ServicePerimeterConfig.ApiOperation.Builder addMethodSelectors(ServicePerimeterConfig.MethodSelector value)
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
Returns
addMethodSelectors(ServicePerimeterConfig.MethodSelector.Builder builderForValue)
public ServicePerimeterConfig.ApiOperation.Builder addMethodSelectors(ServicePerimeterConfig.MethodSelector.Builder builderForValue)
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
Returns
addMethodSelectors(int index, ServicePerimeterConfig.MethodSelector value)
public ServicePerimeterConfig.ApiOperation.Builder addMethodSelectors(int index, ServicePerimeterConfig.MethodSelector value)
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;
Parameters
Returns
addMethodSelectors(int index, ServicePerimeterConfig.MethodSelector.Builder builderForValue)
public ServicePerimeterConfig.ApiOperation.Builder addMethodSelectors(int index, ServicePerimeterConfig.MethodSelector.Builder builderForValue)
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;
Parameters
Returns
addMethodSelectorsBuilder()
public ServicePerimeterConfig.MethodSelector.Builder addMethodSelectorsBuilder()
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
addMethodSelectorsBuilder(int index)
public ServicePerimeterConfig.MethodSelector.Builder addMethodSelectorsBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.ApiOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ServicePerimeterConfig.ApiOperation build()
Returns
buildPartial()
public ServicePerimeterConfig.ApiOperation buildPartial()
Returns
clear()
public ServicePerimeterConfig.ApiOperation.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.ApiOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMethodSelectors()
public ServicePerimeterConfig.ApiOperation.Builder clearMethodSelectors()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.ApiOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceName()
public ServicePerimeterConfig.ApiOperation.Builder clearServiceName()
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
clone()
public ServicePerimeterConfig.ApiOperation.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.ApiOperation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Returns
getMethodSelectorsBuilder(int index)
public ServicePerimeterConfig.MethodSelector.Builder getMethodSelectorsBuilder(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
Returns
getMethodSelectorsBuilderList()
public List<ServicePerimeterConfig.MethodSelector.Builder> getMethodSelectorsBuilderList()
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
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
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
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
Returns
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> | |
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ServicePerimeterConfig.ApiOperation other)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(ServicePerimeterConfig.ApiOperation other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.ApiOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeMethodSelectors(int index)
public ServicePerimeterConfig.ApiOperation.Builder removeMethodSelectors(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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.ApiOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMethodSelectors(int index, ServicePerimeterConfig.MethodSelector value)
public ServicePerimeterConfig.ApiOperation.Builder setMethodSelectors(int index, ServicePerimeterConfig.MethodSelector value)
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;
Parameters
Returns
setMethodSelectors(int index, ServicePerimeterConfig.MethodSelector.Builder builderForValue)
public ServicePerimeterConfig.ApiOperation.Builder setMethodSelectors(int index, ServicePerimeterConfig.MethodSelector.Builder builderForValue)
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.ApiOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceName(String value)
public ServicePerimeterConfig.ApiOperation.Builder setServiceName(String value)
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;
Parameter
Name | Description |
value | String
The serviceName to set.
|
Returns
setServiceNameBytes(ByteString value)
public ServicePerimeterConfig.ApiOperation.Builder setServiceNameBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for serviceName to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.ApiOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides