Class CreateApiDeploymentRequest.Builder (0.41.0)

public static final class CreateApiDeploymentRequest.Builder extends GeneratedMessageV3.Builder<CreateApiDeploymentRequest.Builder> implements CreateApiDeploymentRequestOrBuilder

Request message for CreateApiDeployment.

Protobuf type google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateApiDeploymentRequest build()
Returns
Type Description
CreateApiDeploymentRequest

buildPartial()

public CreateApiDeploymentRequest buildPartial()
Returns
Type Description
CreateApiDeploymentRequest

clear()

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

clearApiDeployment()

public CreateApiDeploymentRequest.Builder clearApiDeployment()

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateApiDeploymentRequest.Builder

clearApiDeploymentId()

public CreateApiDeploymentRequest.Builder clearApiDeploymentId()

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateApiDeploymentRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateApiDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateApiDeploymentRequest.Builder
Overrides

clearParent()

public CreateApiDeploymentRequest.Builder clearParent()

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateApiDeploymentRequest.Builder

This builder for chaining.

clone()

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

getApiDeployment()

public ApiDeployment getApiDeployment()

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiDeployment

The apiDeployment.

getApiDeploymentBuilder()

public ApiDeployment.Builder getApiDeploymentBuilder()

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiDeployment.Builder

getApiDeploymentId()

public String getApiDeploymentId()

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apiDeploymentId.

getApiDeploymentIdBytes()

public ByteString getApiDeploymentIdBytes()

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apiDeploymentId.

getApiDeploymentOrBuilder()

public ApiDeploymentOrBuilder getApiDeploymentOrBuilder()

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiDeploymentOrBuilder

getDefaultInstanceForType()

public CreateApiDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
CreateApiDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasApiDeployment()

public boolean hasApiDeployment()

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiDeployment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiDeployment(ApiDeployment value)

public CreateApiDeploymentRequest.Builder mergeApiDeployment(ApiDeployment value)

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ApiDeployment
Returns
Type Description
CreateApiDeploymentRequest.Builder

mergeFrom(CreateApiDeploymentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateApiDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateApiDeploymentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApiDeployment(ApiDeployment value)

public CreateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment value)

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ApiDeployment
Returns
Type Description
CreateApiDeploymentRequest.Builder

setApiDeployment(ApiDeployment.Builder builderForValue)

public CreateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment.Builder builderForValue)

Required. The deployment to create.

.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ApiDeployment.Builder
Returns
Type Description
CreateApiDeploymentRequest.Builder

setApiDeploymentId(String value)

public CreateApiDeploymentRequest.Builder setApiDeploymentId(String value)

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The apiDeploymentId to set.

Returns
Type Description
CreateApiDeploymentRequest.Builder

This builder for chaining.

setApiDeploymentIdBytes(ByteString value)

public CreateApiDeploymentRequest.Builder setApiDeploymentIdBytes(ByteString value)

Required. The ID to use for the deployment, which will become the final component of the deployment's resource name.

This value should be 4-63 characters, and valid characters are /a-z-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for apiDeploymentId to set.

Returns
Type Description
CreateApiDeploymentRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateApiDeploymentRequest.Builder setParent(String value)

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateApiDeploymentRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateApiDeploymentRequest.Builder setParentBytes(ByteString value)

Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*

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
CreateApiDeploymentRequest.Builder

This builder for chaining.

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

public CreateApiDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateApiDeploymentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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