Class CreateApiDeploymentRequest.Builder (0.8.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public CreateApiDeploymentRequest build()
Returns

buildPartial()

public CreateApiDeploymentRequest buildPartial()
Returns

clear()

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

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 Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

mergeFrom(CreateApiDeploymentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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