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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateApiDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
clearField(Descriptors.FieldDescriptor field)
public CreateApiDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateApiDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
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
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
getApiDeploymentBuilder()
public ApiDeployment.Builder getApiDeploymentBuilder()
Required. The deployment to create.
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
getDefaultInstanceForType()
public CreateApiDeploymentRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateApiDeploymentRequest other)
public CreateApiDeploymentRequest.Builder mergeFrom(CreateApiDeploymentRequest other)
Parameter
Returns
public CreateApiDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateApiDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
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
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
Name | Description |
value | String
The apiDeploymentId to set.
|
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public CreateApiDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
Name | Description |
value | String
The parent to set.
|
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateApiDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides