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.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 CommitServicePerimetersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CommitServicePerimetersRequest build()
buildPartial()
public CommitServicePerimetersRequest buildPartial()
clear()
public CommitServicePerimetersRequest.Builder clear()
Overrides
clearEtag()
public CommitServicePerimetersRequest.Builder clearEtag()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.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;
clearField(Descriptors.FieldDescriptor field)
public CommitServicePerimetersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitServicePerimetersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CommitServicePerimetersRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CommitServicePerimetersRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEtag()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.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.v1.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 |
ByteString |
The bytes for etag.
|
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CommitServicePerimetersRequest other)
public CommitServicePerimetersRequest.Builder mergeFrom(CommitServicePerimetersRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommitServicePerimetersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CommitServicePerimetersRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitServicePerimetersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEtag(String value)
public CommitServicePerimetersRequest.Builder setEtag(String value)
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.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.
|
setEtagBytes(ByteString value)
public CommitServicePerimetersRequest.Builder setEtagBytes(ByteString value)
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CommitServicePerimetersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitServicePerimetersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitServicePerimetersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides