public static final class CreateApiDeploymentRequest.Builder extends GeneratedMessageV3.Builder<CreateApiDeploymentRequest.Builder> implements CreateApiDeploymentRequestOrBuilder
Request message for CreateApiDeployment.
Protobuf type google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateApiDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateApiDeploymentRequest build()
buildPartial()
public CreateApiDeploymentRequest buildPartial()
clear()
public CreateApiDeploymentRequest.Builder clear()
Overrides
clearApiDeployment()
public CreateApiDeploymentRequest.Builder clearApiDeployment()
Required. The deployment to create.
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clearField(Descriptors.FieldDescriptor field)
public CreateApiDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateApiDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateApiDeploymentRequest.Builder clone()
Overrides
getApiDeployment()
public ApiDeployment getApiDeployment()
Required. The deployment to create.
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
getApiDeploymentBuilder()
public ApiDeployment.Builder getApiDeploymentBuilder()
Required. The deployment to create.
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
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];
getDefaultInstanceForType()
public CreateApiDeploymentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateApiDeploymentRequest other)
public CreateApiDeploymentRequest.Builder mergeFrom(CreateApiDeploymentRequest other)
public CreateApiDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateApiDeploymentRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateApiDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateApiDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides