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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.ApiOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServicePerimeterConfig.ApiOperation build()
buildPartial()
public ServicePerimeterConfig.ApiOperation buildPartial()
clear()
public ServicePerimeterConfig.ApiOperation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.ApiOperation.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.ApiOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ServicePerimeterConfig.ApiOperation.Builder clone()
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.ApiOperation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ServicePerimeterConfig.ApiOperation other)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(ServicePerimeterConfig.ApiOperation other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.ApiOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.ApiOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.ApiOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.ApiOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides