Class CommitServicePerimetersRequest.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitServicePerimetersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides

build()

public CommitServicePerimetersRequest build()
Returns
TypeDescription
CommitServicePerimetersRequest

buildPartial()

public CommitServicePerimetersRequest buildPartial()
Returns
TypeDescription
CommitServicePerimetersRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CommitServicePerimetersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitServicePerimetersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CommitServicePerimetersRequest.Builder

This builder for chaining.

clone()

public CommitServicePerimetersRequest.Builder clone()
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides

getDefaultInstanceForType()

public CommitServicePerimetersRequest getDefaultInstanceForType()
Returns
TypeDescription
CommitServicePerimetersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CommitServicePerimetersRequest other)

public CommitServicePerimetersRequest.Builder mergeFrom(CommitServicePerimetersRequest other)
Parameter
NameDescription
otherCommitServicePerimetersRequest
Returns
TypeDescription
CommitServicePerimetersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitServicePerimetersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CommitServicePerimetersRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitServicePerimetersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
CommitServicePerimetersRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CommitServicePerimetersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitServicePerimetersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommitServicePerimetersRequest.Builder
Overrides