Class CreateServicePerimeterRequest.Builder (1.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateServicePerimeterRequest build()
Returns
TypeDescription
CreateServicePerimeterRequest

buildPartial()

public CreateServicePerimeterRequest buildPartial()
Returns
TypeDescription
CreateServicePerimeterRequest

clear()

public CreateServicePerimeterRequest.Builder clear()
Returns
TypeDescription
CreateServicePerimeterRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateServicePerimeterRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateServicePerimeterRequest

getDescriptorForType()

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

Whether the servicePerimeter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateServicePerimeterRequest other)

public CreateServicePerimeterRequest.Builder mergeFrom(CreateServicePerimeterRequest other)
Parameter
NameDescription
otherCreateServicePerimeterRequest
Returns
TypeDescription
CreateServicePerimeterRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateServicePerimeterRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueServicePerimeter
Returns
TypeDescription
CreateServicePerimeterRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateServicePerimeterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateServicePerimeterRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueServicePerimeter
Returns
TypeDescription
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
NameDescription
builderForValueServicePerimeter.Builder
Returns
TypeDescription
CreateServicePerimeterRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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