public static final class CreateServicePerimeterRequest.Builder extends GeneratedMessageV3.Builder<CreateServicePerimeterRequest.Builder> implements CreateServicePerimeterRequestOrBuilder
A request to create a ServicePerimeter
.
Protobuf type google.identity.accesscontextmanager.v1.CreateServicePerimeterRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateServicePerimeterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateServicePerimeterRequest build()
Returns
buildPartial()
public CreateServicePerimeterRequest buildPartial()
Returns
clear()
public CreateServicePerimeterRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateServicePerimeterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateServicePerimeterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateServicePerimeterRequest.Builder clearParent()
Required. Resource name for the access policy which owns this [Service
Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearServicePerimeter()
public CreateServicePerimeterRequest.Builder clearServicePerimeter()
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateServicePerimeterRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateServicePerimeterRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. Resource name for the access policy which owns this [Service
Perimeter] [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 this [Service
Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getServicePerimeter()
public ServicePerimeter getServicePerimeter()
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getServicePerimeterBuilder()
public ServicePerimeter.Builder getServicePerimeterBuilder()
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getServicePerimeterOrBuilder()
public ServicePerimeterOrBuilder getServicePerimeterOrBuilder()
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasServicePerimeter()
public boolean hasServicePerimeter()
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the servicePerimeter field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateServicePerimeterRequest other)
public CreateServicePerimeterRequest.Builder mergeFrom(CreateServicePerimeterRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateServicePerimeterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateServicePerimeterRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeServicePerimeter(ServicePerimeter value)
public CreateServicePerimeterRequest.Builder mergeServicePerimeter(ServicePerimeter value)
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateServicePerimeterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateServicePerimeterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateServicePerimeterRequest.Builder setParent(String value)
Required. Resource name for the access policy which owns this [Service
Perimeter] [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.
|
Returns
setParentBytes(ByteString value)
public CreateServicePerimeterRequest.Builder setParentBytes(ByteString value)
Required. Resource name for the access policy which owns this [Service
Perimeter] [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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateServicePerimeterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServicePerimeter(ServicePerimeter value)
public CreateServicePerimeterRequest.Builder setServicePerimeter(ServicePerimeter value)
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setServicePerimeter(ServicePerimeter.Builder builderForValue)
public CreateServicePerimeterRequest.Builder setServicePerimeter(ServicePerimeter.Builder builderForValue)
Required. The [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
Syntactic correctness of the [Service Perimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateServicePerimeterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides