public static final class CreateRuntimeProjectAttachmentRequest.Builder extends GeneratedMessageV3.Builder<CreateRuntimeProjectAttachmentRequest.Builder> implements CreateRuntimeProjectAttachmentRequestOrBuilder
The
CreateRuntimeProjectAttachment
method's request.
Protobuf type google.cloud.apihub.v1.CreateRuntimeProjectAttachmentRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateRuntimeProjectAttachmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateRuntimeProjectAttachmentRequest build()
buildPartial()
public CreateRuntimeProjectAttachmentRequest buildPartial()
clear()
public CreateRuntimeProjectAttachmentRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateRuntimeProjectAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateRuntimeProjectAttachmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
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];
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];
clone()
public CreateRuntimeProjectAttachmentRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateRuntimeProjectAttachmentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateRuntimeProjectAttachmentRequest other)
public CreateRuntimeProjectAttachmentRequest.Builder mergeFrom(CreateRuntimeProjectAttachmentRequest other)
public CreateRuntimeProjectAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateRuntimeProjectAttachmentRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuntimeProjectAttachmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateRuntimeProjectAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateRuntimeProjectAttachmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
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 |
String
The runtimeProjectAttachmentId to set.
|
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 |
ByteString
The bytes for runtimeProjectAttachmentId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuntimeProjectAttachmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides