public static final class CommitServicePerimetersRequest.Builder extends GeneratedMessageV3.Builder<CommitServicePerimetersRequest.Builder> implements CommitServicePerimetersRequestOrBuilder
A request to commit dry-run specs in all [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] belonging to
an Access Policy.
Protobuf type google.identity.accesscontextmanager.v1.CommitServicePerimetersRequest
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommitServicePerimetersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CommitServicePerimetersRequest build()
Returns
buildPartial()
public CommitServicePerimetersRequest buildPartial()
Returns
clear()
public CommitServicePerimetersRequest.Builder clear()
Returns
Overrides
clearEtag()
public CommitServicePerimetersRequest.Builder clearEtag()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1alpha.AccessPolicy] that this
commit operation is to be performed on. If, at the time of commit, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the commit operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public CommitServicePerimetersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitServicePerimetersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CommitServicePerimetersRequest.Builder clearParent()
Required. Resource name for the parent [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] which owns all
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in scope for
the commit operation.
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CommitServicePerimetersRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CommitServicePerimetersRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEtag()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1alpha.AccessPolicy] that this
commit operation is to be performed on. If, at the time of commit, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the commit operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 2;
Returns
Type | Description |
String | The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1alpha.AccessPolicy] that this
commit operation is to be performed on. If, at the time of commit, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the commit operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 2;
Returns
getParent()
public String getParent()
Required. Resource name for the parent [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] which owns all
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in scope for
the commit operation.
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource name for the parent [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] which owns all
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in scope for
the commit operation.
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CommitServicePerimetersRequest other)
public CommitServicePerimetersRequest.Builder mergeFrom(CommitServicePerimetersRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommitServicePerimetersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CommitServicePerimetersRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitServicePerimetersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEtag(String value)
public CommitServicePerimetersRequest.Builder setEtag(String value)
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1alpha.AccessPolicy] that this
commit operation is to be performed on. If, at the time of commit, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the commit operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 2;
Parameter
Name | Description |
value | String
The etag to set.
|
Returns
setEtagBytes(ByteString value)
public CommitServicePerimetersRequest.Builder setEtagBytes(ByteString value)
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1alpha.AccessPolicy] that this
commit operation is to be performed on. If, at the time of commit, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the commit operation will not be performed
and the call will fail. This field is not required. If etag is not
provided, the operation will be performed as if a valid etag is provided.
string etag = 2;
Parameter
Name | Description |
value | ByteString
The bytes for etag to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CommitServicePerimetersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CommitServicePerimetersRequest.Builder setParent(String value)
Required. Resource name for the parent [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] which owns all
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in scope for
the commit operation.
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CommitServicePerimetersRequest.Builder setParentBytes(ByteString value)
Required. Resource name for the parent [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] which owns all
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in scope for
the commit operation.
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitServicePerimetersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitServicePerimetersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides