Class CreateInterconnectAttachmentRequest.Builder (0.8.0)

public static final class CreateInterconnectAttachmentRequest.Builder extends GeneratedMessageV3.Builder<CreateInterconnectAttachmentRequest.Builder> implements CreateInterconnectAttachmentRequestOrBuilder

Message for creating a InterconnectAttachment

Protobuf type google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInterconnectAttachmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

build()

public CreateInterconnectAttachmentRequest build()
Returns
TypeDescription
CreateInterconnectAttachmentRequest

buildPartial()

public CreateInterconnectAttachmentRequest buildPartial()
Returns
TypeDescription
CreateInterconnectAttachmentRequest

clear()

public CreateInterconnectAttachmentRequest.Builder clear()
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateInterconnectAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

clearInterconnectAttachment()

public CreateInterconnectAttachmentRequest.Builder clearInterconnectAttachment()

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

clearInterconnectAttachmentId()

public CreateInterconnectAttachmentRequest.Builder clearInterconnectAttachmentId()

Required. Id of the requesting object If auto-generating Id server-side, remove this field and interconnect_attachment_id from the method_signature of Create RPC

string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInterconnectAttachmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

clearParent()

public CreateInterconnectAttachmentRequest.Builder clearParent()

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

clearRequestId()

public CreateInterconnectAttachmentRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

clone()

public CreateInterconnectAttachmentRequest.Builder clone()
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateInterconnectAttachmentRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateInterconnectAttachmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInterconnectAttachment()

public InterconnectAttachment getInterconnectAttachment()

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InterconnectAttachment

The interconnectAttachment.

getInterconnectAttachmentBuilder()

public InterconnectAttachment.Builder getInterconnectAttachmentBuilder()

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InterconnectAttachment.Builder

getInterconnectAttachmentId()

public String getInterconnectAttachmentId()

Required. Id of the requesting object If auto-generating Id server-side, remove this field and interconnect_attachment_id from the method_signature of Create RPC

string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The interconnectAttachmentId.

getInterconnectAttachmentIdBytes()

public ByteString getInterconnectAttachmentIdBytes()

Required. Id of the requesting object If auto-generating Id server-side, remove this field and interconnect_attachment_id from the method_signature of Create RPC

string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for interconnectAttachmentId.

getInterconnectAttachmentOrBuilder()

public InterconnectAttachmentOrBuilder getInterconnectAttachmentOrBuilder()

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InterconnectAttachmentOrBuilder

getParent()

public String getParent()

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestId.

hasInterconnectAttachment()

public boolean hasInterconnectAttachment()

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the interconnectAttachment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateInterconnectAttachmentRequest other)

public CreateInterconnectAttachmentRequest.Builder mergeFrom(CreateInterconnectAttachmentRequest other)
Parameter
NameDescription
otherCreateInterconnectAttachmentRequest
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInterconnectAttachment(InterconnectAttachment value)

public CreateInterconnectAttachmentRequest.Builder mergeInterconnectAttachment(InterconnectAttachment value)

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueInterconnectAttachment
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInterconnectAttachmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInterconnectAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

setInterconnectAttachment(InterconnectAttachment value)

public CreateInterconnectAttachmentRequest.Builder setInterconnectAttachment(InterconnectAttachment value)

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueInterconnectAttachment
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

setInterconnectAttachment(InterconnectAttachment.Builder builderForValue)

public CreateInterconnectAttachmentRequest.Builder setInterconnectAttachment(InterconnectAttachment.Builder builderForValue)

Required. The resource being created

.google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueInterconnectAttachment.Builder
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

setInterconnectAttachmentId(String value)

public CreateInterconnectAttachmentRequest.Builder setInterconnectAttachmentId(String value)

Required. Id of the requesting object If auto-generating Id server-side, remove this field and interconnect_attachment_id from the method_signature of Create RPC

string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The interconnectAttachmentId to set.

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

setInterconnectAttachmentIdBytes(ByteString value)

public CreateInterconnectAttachmentRequest.Builder setInterconnectAttachmentIdBytes(ByteString value)

Required. Id of the requesting object If auto-generating Id server-side, remove this field and interconnect_attachment_id from the method_signature of Create RPC

string interconnect_attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for interconnectAttachmentId to set.

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

setParent(String value)

public CreateInterconnectAttachmentRequest.Builder setParent(String value)

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateInterconnectAttachmentRequest.Builder setParentBytes(ByteString value)

Required. Value for parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateInterconnectAttachmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder
Overrides

setRequestId(String value)

public CreateInterconnectAttachmentRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateInterconnectAttachmentRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateInterconnectAttachmentRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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