Class CreateApiDeploymentRequest.Builder (0.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateApiDeploymentRequest build()
Returns
TypeDescription
CreateApiDeploymentRequest

buildPartial()

public CreateApiDeploymentRequest buildPartial()
Returns
TypeDescription
CreateApiDeploymentRequest

clear()

public CreateApiDeploymentRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateApiDeploymentRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateApiDeploymentRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ApiDeploymentOrBuilder

getDefaultInstanceForType()

public CreateApiDeploymentRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateApiDeploymentRequest

getDescriptorForType()

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

Whether the apiDeployment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueApiDeployment
Returns
TypeDescription
CreateApiDeploymentRequest.Builder

mergeFrom(CreateApiDeploymentRequest other)

public CreateApiDeploymentRequest.Builder mergeFrom(CreateApiDeploymentRequest other)
Parameter
NameDescription
otherCreateApiDeploymentRequest
Returns
TypeDescription
CreateApiDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateApiDeploymentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateApiDeploymentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateApiDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueApiDeployment
Returns
TypeDescription
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
NameDescription
builderForValueApiDeployment.Builder
Returns
TypeDescription
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
NameDescription
valueString

The apiDeploymentId to set.

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

The bytes for apiDeploymentId to set.

Returns
TypeDescription
CreateApiDeploymentRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateApiDeploymentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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