Class GetInterconnectAttachmentRequest.Builder (1.12.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInterconnectAttachmentRequest build()
Returns
TypeDescription
GetInterconnectAttachmentRequest

buildPartial()

public GetInterconnectAttachmentRequest buildPartial()
Returns
TypeDescription
GetInterconnectAttachmentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetInterconnectAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetInterconnectAttachmentRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetInterconnectAttachmentRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetInterconnectAttachmentRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInterconnectAttachmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInterconnectAttachment()

public String getInterconnectAttachment()

Name of the interconnect attachment to return.

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

Returns
TypeDescription
String

The interconnectAttachment.

getInterconnectAttachmentBytes()

public ByteString getInterconnectAttachmentBytes()

Name of the interconnect attachment to return.

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

Returns
TypeDescription
ByteString

The bytes for interconnectAttachment.

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region for this request.

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

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetInterconnectAttachmentRequest other)

public GetInterconnectAttachmentRequest.Builder mergeFrom(GetInterconnectAttachmentRequest other)
Parameter
NameDescription
otherGetInterconnectAttachmentRequest
Returns
TypeDescription
GetInterconnectAttachmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetInterconnectAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The interconnectAttachment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for interconnectAttachment to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetInterconnectAttachmentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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