public static final class ServicePerimeterConfig.MethodSelector.Builder extends GeneratedMessage.Builder<ServicePerimeterConfig.MethodSelector.Builder> implements ServicePerimeterConfig.MethodSelectorOrBuilderAn allowed method or permission of a service specified in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServicePerimeterConfig.MethodSelector.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServicePerimeterConfig.MethodSelector build()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector |
|
buildPartial()
public ServicePerimeterConfig.MethodSelector buildPartial()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector |
|
clear()
public ServicePerimeterConfig.MethodSelector.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
clearKind()
public ServicePerimeterConfig.MethodSelector.Builder clearKind()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
clearMethod()
public ServicePerimeterConfig.MethodSelector.Builder clearMethod() Value for method should be a valid method name for the corresponding
service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
If * used as value for method, then ALL methods and permissions are
allowed.
string method = 1;
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
This builder for chaining. |
clearPermission()
public ServicePerimeterConfig.MethodSelector.Builder clearPermission() Value for permission should be a valid Cloud IAM permission for the
corresponding service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
string permission = 2;
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ServicePerimeterConfig.MethodSelector getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKindCase()
public ServicePerimeterConfig.MethodSelector.KindCase getKindCase()| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.KindCase |
|
getMethod()
public String getMethod() Value for method should be a valid method name for the corresponding
service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
If * used as value for method, then ALL methods and permissions are
allowed.
string method = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The method. |
getMethodBytes()
public ByteString getMethodBytes() Value for method should be a valid method name for the corresponding
service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
If * used as value for method, then ALL methods and permissions are
allowed.
string method = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for method. |
getPermission()
public String getPermission() Value for permission should be a valid Cloud IAM permission for the
corresponding service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
string permission = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The permission. |
getPermissionBytes()
public ByteString getPermissionBytes() Value for permission should be a valid Cloud IAM permission for the
corresponding service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
string permission = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for permission. |
hasMethod()
public boolean hasMethod() Value for method should be a valid method name for the corresponding
service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
If * used as value for method, then ALL methods and permissions are
allowed.
string method = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the method field is set. |
hasPermission()
public boolean hasPermission() Value for permission should be a valid Cloud IAM permission for the
corresponding service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
string permission = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the permission field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServicePerimeterConfig.MethodSelector other)
public ServicePerimeterConfig.MethodSelector.Builder mergeFrom(ServicePerimeterConfig.MethodSelector other)| Parameter | |
|---|---|
| Name | Description |
other |
ServicePerimeterConfig.MethodSelector |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.MethodSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServicePerimeterConfig.MethodSelector.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
|
setMethod(String value)
public ServicePerimeterConfig.MethodSelector.Builder setMethod(String value) Value for method should be a valid method name for the corresponding
service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
If * used as value for method, then ALL methods and permissions are
allowed.
string method = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe method to set. |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
This builder for chaining. |
setMethodBytes(ByteString value)
public ServicePerimeterConfig.MethodSelector.Builder setMethodBytes(ByteString value) Value for method should be a valid method name for the corresponding
service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
If * used as value for method, then ALL methods and permissions are
allowed.
string method = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for method to set. |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
This builder for chaining. |
setPermission(String value)
public ServicePerimeterConfig.MethodSelector.Builder setPermission(String value) Value for permission should be a valid Cloud IAM permission for the
corresponding service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
string permission = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe permission to set. |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
This builder for chaining. |
setPermissionBytes(ByteString value)
public ServicePerimeterConfig.MethodSelector.Builder setPermissionBytes(ByteString value) Value for permission should be a valid Cloud IAM permission for the
corresponding service_name in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
string permission = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for permission to set. |
| Returns | |
|---|---|
| Type | Description |
ServicePerimeterConfig.MethodSelector.Builder |
This builder for chaining. |