Class CommitServicePerimetersRequest.Builder (1.43.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitServicePerimetersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides

build()

public CommitServicePerimetersRequest build()
Returns
Type Description
CommitServicePerimetersRequest

buildPartial()

public CommitServicePerimetersRequest buildPartial()
Returns
Type Description
CommitServicePerimetersRequest

clear()

public CommitServicePerimetersRequest.Builder clear()
Returns
Type Description
CommitServicePerimetersRequest.Builder
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;

Returns
Type Description
CommitServicePerimetersRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CommitServicePerimetersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitServicePerimetersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CommitServicePerimetersRequest.Builder
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
Type Description
CommitServicePerimetersRequest.Builder

This builder for chaining.

clone()

public CommitServicePerimetersRequest.Builder clone()
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides

getDefaultInstanceForType()

public CommitServicePerimetersRequest getDefaultInstanceForType()
Returns
Type Description
CommitServicePerimetersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommitServicePerimetersRequest other)

public CommitServicePerimetersRequest.Builder mergeFrom(CommitServicePerimetersRequest other)
Parameter
Name Description
other CommitServicePerimetersRequest
Returns
Type Description
CommitServicePerimetersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitServicePerimetersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CommitServicePerimetersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitServicePerimetersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitServicePerimetersRequest.Builder
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.

Returns
Type Description
CommitServicePerimetersRequest.Builder

This builder for chaining.

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.

Returns
Type Description
CommitServicePerimetersRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CommitServicePerimetersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitServicePerimetersRequest.Builder
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
Type Description
CommitServicePerimetersRequest.Builder

This builder for chaining.

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
Type Description
CommitServicePerimetersRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CommitServicePerimetersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitServicePerimetersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitServicePerimetersRequest.Builder
Overrides