public static final class CreateRuntimeProjectAttachmentRequest.Builder extends GeneratedMessage.Builder<CreateRuntimeProjectAttachmentRequest.Builder> implements CreateRuntimeProjectAttachmentRequestOrBuilderThe CreateRuntimeProjectAttachment method's request.
Protobuf type google.cloud.apihub.v1.CreateRuntimeProjectAttachmentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateRuntimeProjectAttachmentRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateRuntimeProjectAttachmentRequest build()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest |
|
buildPartial()
public CreateRuntimeProjectAttachmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest |
|
clear()
public CreateRuntimeProjectAttachmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
clearParent()
public CreateRuntimeProjectAttachmentRequest.Builder clearParent() Required. The parent resource for the Runtime Project Attachment.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
This builder for chaining. |
clearRuntimeProjectAttachment()
public CreateRuntimeProjectAttachmentRequest.Builder clearRuntimeProjectAttachment()Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
clearRuntimeProjectAttachmentId()
public CreateRuntimeProjectAttachmentRequest.Builder clearRuntimeProjectAttachmentId()Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.
string runtime_project_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateRuntimeProjectAttachmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource for the Runtime Project Attachment.
Format: projects/{project}/locations/{location}
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 resource for the Runtime Project Attachment.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRuntimeProjectAttachment()
public RuntimeProjectAttachment getRuntimeProjectAttachment()Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuntimeProjectAttachment |
The runtimeProjectAttachment. |
getRuntimeProjectAttachmentBuilder()
public RuntimeProjectAttachment.Builder getRuntimeProjectAttachmentBuilder()Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuntimeProjectAttachment.Builder |
|
getRuntimeProjectAttachmentId()
public String getRuntimeProjectAttachmentId()Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.
string runtime_project_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The runtimeProjectAttachmentId. |
getRuntimeProjectAttachmentIdBytes()
public ByteString getRuntimeProjectAttachmentIdBytes()Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.
string runtime_project_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for runtimeProjectAttachmentId. |
getRuntimeProjectAttachmentOrBuilder()
public RuntimeProjectAttachmentOrBuilder getRuntimeProjectAttachmentOrBuilder()Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuntimeProjectAttachmentOrBuilder |
|
hasRuntimeProjectAttachment()
public boolean hasRuntimeProjectAttachment()Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the runtimeProjectAttachment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateRuntimeProjectAttachmentRequest other)
public CreateRuntimeProjectAttachmentRequest.Builder mergeFrom(CreateRuntimeProjectAttachmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateRuntimeProjectAttachmentRequest |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateRuntimeProjectAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateRuntimeProjectAttachmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
mergeRuntimeProjectAttachment(RuntimeProjectAttachment value)
public CreateRuntimeProjectAttachmentRequest.Builder mergeRuntimeProjectAttachment(RuntimeProjectAttachment value)Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RuntimeProjectAttachment |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
setParent(String value)
public CreateRuntimeProjectAttachmentRequest.Builder setParent(String value) Required. The parent resource for the Runtime Project Attachment.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateRuntimeProjectAttachmentRequest.Builder setParentBytes(ByteString value) Required. The parent resource for the Runtime Project Attachment.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
This builder for chaining. |
setRuntimeProjectAttachment(RuntimeProjectAttachment value)
public CreateRuntimeProjectAttachmentRequest.Builder setRuntimeProjectAttachment(RuntimeProjectAttachment value)Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RuntimeProjectAttachment |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
setRuntimeProjectAttachment(RuntimeProjectAttachment.Builder builderForValue)
public CreateRuntimeProjectAttachmentRequest.Builder setRuntimeProjectAttachment(RuntimeProjectAttachment.Builder builderForValue)Required. The Runtime Project Attachment to create.
.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RuntimeProjectAttachment.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
|
setRuntimeProjectAttachmentId(String value)
public CreateRuntimeProjectAttachmentRequest.Builder setRuntimeProjectAttachmentId(String value)Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.
string runtime_project_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe runtimeProjectAttachmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
This builder for chaining. |
setRuntimeProjectAttachmentIdBytes(ByteString value)
public CreateRuntimeProjectAttachmentRequest.Builder setRuntimeProjectAttachmentIdBytes(ByteString value)Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment's name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.
string runtime_project_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for runtimeProjectAttachmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateRuntimeProjectAttachmentRequest.Builder |
This builder for chaining. |