Class GetInterconnectAttachmentRequest.Builder (1.53.0)

public static final class GetInterconnectAttachmentRequest.Builder extends GeneratedMessageV3.Builder<GetInterconnectAttachmentRequest.Builder> implements GetInterconnectAttachmentRequestOrBuilder

A request message for InterconnectAttachments.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetInterconnectAttachmentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetInterconnectAttachmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

build()

public GetInterconnectAttachmentRequest build()
Returns
Type Description
GetInterconnectAttachmentRequest

buildPartial()

public GetInterconnectAttachmentRequest buildPartial()
Returns
Type Description
GetInterconnectAttachmentRequest

clear()

public GetInterconnectAttachmentRequest.Builder clear()
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetInterconnectAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

clearInterconnectAttachment()

public GetInterconnectAttachmentRequest.Builder clearInterconnectAttachment()

Name of the interconnect attachment to return.

string interconnect_attachment = 308135284 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetInterconnectAttachmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

clearProject()

public GetInterconnectAttachmentRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

clearRegion()

public GetInterconnectAttachmentRequest.Builder clearRegion()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

clone()

public GetInterconnectAttachmentRequest.Builder clone()
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

getDefaultInstanceForType()

public GetInterconnectAttachmentRequest getDefaultInstanceForType()
Returns
Type Description
GetInterconnectAttachmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInterconnectAttachment()

public String getInterconnectAttachment()

Name of the interconnect attachment to return.

string interconnect_attachment = 308135284 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The interconnectAttachment.

getInterconnectAttachmentBytes()

public ByteString getInterconnectAttachmentBytes()

Name of the interconnect attachment to return.

string interconnect_attachment = 308135284 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for interconnectAttachment.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetInterconnectAttachmentRequest other)

public GetInterconnectAttachmentRequest.Builder mergeFrom(GetInterconnectAttachmentRequest other)
Parameter
Name Description
other GetInterconnectAttachmentRequest
Returns
Type Description
GetInterconnectAttachmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetInterconnectAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetInterconnectAttachmentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetInterconnectAttachmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetInterconnectAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

setInterconnectAttachment(String value)

public GetInterconnectAttachmentRequest.Builder setInterconnectAttachment(String value)

Name of the interconnect attachment to return.

string interconnect_attachment = 308135284 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The interconnectAttachment to set.

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

setInterconnectAttachmentBytes(ByteString value)

public GetInterconnectAttachmentRequest.Builder setInterconnectAttachmentBytes(ByteString value)

Name of the interconnect attachment to return.

string interconnect_attachment = 308135284 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for interconnectAttachment to set.

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

setProject(String value)

public GetInterconnectAttachmentRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetInterconnectAttachmentRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

setRegion(String value)

public GetInterconnectAttachmentRequest.Builder setRegion(String value)

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetInterconnectAttachmentRequest.Builder setRegionBytes(ByteString value)

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

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

public GetInterconnectAttachmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetInterconnectAttachmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetInterconnectAttachmentRequest.Builder
Overrides