Class CreateServicePerimeterRequest.Builder (1.54.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateServicePerimeterRequest build()
Returns
Type Description
CreateServicePerimeterRequest

buildPartial()

public CreateServicePerimeterRequest buildPartial()
Returns
Type Description
CreateServicePerimeterRequest

clear()

public CreateServicePerimeterRequest.Builder clear()
Returns
Type Description
CreateServicePerimeterRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

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

clone()

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

getDefaultInstanceForType()

public CreateServicePerimeterRequest getDefaultInstanceForType()
Returns
Type Description
CreateServicePerimeterRequest

getDescriptorForType()

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

The bytes for parent.

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
Type Description
ServicePerimeter

The servicePerimeter.

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

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
Type Description
ServicePerimeterOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateServicePerimeterRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateServicePerimeterRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateServicePerimeterRequest.Builder
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
Name Description
value ServicePerimeter
Returns
Type Description
CreateServicePerimeterRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateServicePerimeterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateServicePerimeterRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

This builder for chaining.

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

This builder for chaining.

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

public CreateServicePerimeterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateServicePerimeterRequest.Builder
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
Name Description
value ServicePerimeter
Returns
Type Description
CreateServicePerimeterRequest.Builder

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
Name Description
builderForValue ServicePerimeter.Builder
Returns
Type Description
CreateServicePerimeterRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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