public static final class ServicePerimeterConfig.ApiOperation.Builder extends GeneratedMessage.Builder<ServicePerimeterConfig.ApiOperation.Builder> implements ServicePerimeterConfig.ApiOperationOrBuilderIdentification for an API Operation.
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServicePerimeterConfig.ApiOperation.BuilderImplements
ServicePerimeterConfig.ApiOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
ServicePerimeterConfig.MethodSelector |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
ServicePerimeterConfig.MethodSelector.Builder |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
ServicePerimeterConfig.MethodSelector |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ServicePerimeterConfig.MethodSelector.Builder |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
build()
public ServicePerimeterConfig.ApiOperation build()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation |
|
buildPartial()
public ServicePerimeterConfig.ApiOperation buildPartial()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation |
|
clear()
public ServicePerimeterConfig.ApiOperation.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ServicePerimeterConfig.ApiOperation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
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 | |
|---|---|
| Type | Description |
List<Builder> |
|
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> |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServicePerimeterConfig.ApiOperation other)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(ServicePerimeterConfig.ApiOperation other)| Parameter | |
|---|---|
| Name | Description |
other |
ServicePerimeterConfig.ApiOperation |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServicePerimeterConfig.ApiOperation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
ServicePerimeterConfig.MethodSelector |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ServicePerimeterConfig.MethodSelector.Builder |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
|
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 |
StringThe serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.ApiOperation.Builder |
This builder for chaining. |