public static final class ReplaceServicePerimetersRequest.Builder extends GeneratedMessageV3.Builder<ReplaceServicePerimetersRequest.Builder> implements ReplaceServicePerimetersRequestOrBuilder
A request to replace all existing Service Perimeters in an Access Policy
with the Service Perimeters provided. This is done atomically.
Protobuf type google.identity.accesscontextmanager.v1.ReplaceServicePerimetersRequest
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()
Methods
addAllServicePerimeters(Iterable<? extends ServicePerimeter> values)
public ReplaceServicePerimetersRequest.Builder addAllServicePerimeters(Iterable<? extends ServicePerimeter> values)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeter>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplaceServicePerimetersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addServicePerimeters(ServicePerimeter value)
public ReplaceServicePerimetersRequest.Builder addServicePerimeters(ServicePerimeter value)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
addServicePerimeters(ServicePerimeter.Builder builderForValue)
public ReplaceServicePerimetersRequest.Builder addServicePerimeters(ServicePerimeter.Builder builderForValue)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
addServicePerimeters(int index, ServicePerimeter value)
public ReplaceServicePerimetersRequest.Builder addServicePerimeters(int index, ServicePerimeter value)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
addServicePerimeters(int index, ServicePerimeter.Builder builderForValue)
public ReplaceServicePerimetersRequest.Builder addServicePerimeters(int index, ServicePerimeter.Builder builderForValue)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
addServicePerimetersBuilder()
public ServicePerimeter.Builder addServicePerimetersBuilder()
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
addServicePerimetersBuilder(int index)
public ServicePerimeter.Builder addServicePerimetersBuilder(int index)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
build()
public ReplaceServicePerimetersRequest build()
buildPartial()
public ReplaceServicePerimetersRequest buildPartial()
clear()
public ReplaceServicePerimetersRequest.Builder clear()
Overrides
clearEtag()
public ReplaceServicePerimetersRequest.Builder clearEtag()
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] that this
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace 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 = 3;
clearField(Descriptors.FieldDescriptor field)
public ReplaceServicePerimetersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceServicePerimetersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public ReplaceServicePerimetersRequest.Builder clearParent()
Required. Resource name for the access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearServicePerimeters()
public ReplaceServicePerimetersRequest.Builder clearServicePerimeters()
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ReplaceServicePerimetersRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ReplaceServicePerimetersRequest 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
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace 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 = 3;
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
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace 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 = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for etag.
|
getParent()
public String getParent()
Required. Resource name for the access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
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 access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getServicePerimeters(int index)
public ServicePerimeter getServicePerimeters(int index)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getServicePerimetersBuilder(int index)
public ServicePerimeter.Builder getServicePerimetersBuilder(int index)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getServicePerimetersBuilderList()
public List<ServicePerimeter.Builder> getServicePerimetersBuilderList()
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
getServicePerimetersCount()
public int getServicePerimetersCount()
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getServicePerimetersList()
public List<ServicePerimeter> getServicePerimetersList()
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
getServicePerimetersOrBuilder(int index)
public ServicePerimeterOrBuilder getServicePerimetersOrBuilder(int index)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getServicePerimetersOrBuilderList()
public List<? extends ServicePerimeterOrBuilder> getServicePerimetersOrBuilderList()
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReplaceServicePerimetersRequest other)
public ReplaceServicePerimetersRequest.Builder mergeFrom(ReplaceServicePerimetersRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplaceServicePerimetersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReplaceServicePerimetersRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceServicePerimetersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeServicePerimeters(int index)
public ReplaceServicePerimetersRequest.Builder removeServicePerimeters(int index)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
setEtag(String value)
public ReplaceServicePerimetersRequest.Builder setEtag(String value)
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] that this
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace 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 = 3;
Parameter |
---|
Name | Description |
value | String
The etag to set.
|
setEtagBytes(ByteString value)
public ReplaceServicePerimetersRequest.Builder setEtagBytes(ByteString value)
Optional. The etag for the version of the [Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy] that this
replace operation is to be performed on. If, at the time of replace, the
etag for the Access Policy stored in Access Context Manager is different
from the specified etag, then the replace 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 = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for etag to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceServicePerimetersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public ReplaceServicePerimetersRequest.Builder setParent(String value)
Required. Resource name for the access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
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 ReplaceServicePerimetersRequest.Builder setParentBytes(ByteString value)
Required. Resource name for the access policy which owns these
[Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
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 ReplaceServicePerimetersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServicePerimeters(int index, ServicePerimeter value)
public ReplaceServicePerimetersRequest.Builder setServicePerimeters(int index, ServicePerimeter value)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
setServicePerimeters(int index, ServicePerimeter.Builder builderForValue)
public ReplaceServicePerimetersRequest.Builder setServicePerimeters(int index, ServicePerimeter.Builder builderForValue)
Required. The desired [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that should
replace all existing [Service Perimeters]
[google.identity.accesscontextmanager.v1.ServicePerimeter] in the
[Access Policy]
[google.identity.accesscontextmanager.v1.AccessPolicy].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceServicePerimetersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides