public static final class ServicePerimeterConfig.MethodSelector.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.MethodSelector.Builder> implements ServicePerimeterConfig.MethodSelectorOrBuilder
An allowed method or permission of a service specified in [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.MethodSelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServicePerimeterConfig.MethodSelector build()
buildPartial()
public ServicePerimeterConfig.MethodSelector buildPartial()
clear()
public ServicePerimeterConfig.MethodSelector.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.MethodSelector.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKind()
public ServicePerimeterConfig.MethodSelector.Builder clearKind()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.MethodSelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public ServicePerimeterConfig.MethodSelector.Builder clone()
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.MethodSelector getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKindCase()
public ServicePerimeterConfig.MethodSelector.KindCase getKindCase()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ServicePerimeterConfig.MethodSelector other)
public ServicePerimeterConfig.MethodSelector.Builder mergeFrom(ServicePerimeterConfig.MethodSelector other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.MethodSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServicePerimeterConfig.MethodSelector.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.MethodSelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.MethodSelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The method to set.
|
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 |
ByteString
The bytes for method to set.
|
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 |
String
The permission to set.
|
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 |
ByteString
The bytes for permission to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.MethodSelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.MethodSelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides