Class GetInterconnectLocationRequest.Builder (1.28.0)

public static final class GetInterconnectLocationRequest.Builder extends GeneratedMessageV3.Builder<GetInterconnectLocationRequest.Builder> implements GetInterconnectLocationRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetInterconnectLocationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInterconnectLocationRequest build()
Returns
TypeDescription
GetInterconnectLocationRequest

buildPartial()

public GetInterconnectLocationRequest buildPartial()
Returns
TypeDescription
GetInterconnectLocationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnectLocation()

public GetInterconnectLocationRequest.Builder clearInterconnectLocation()

Name of the interconnect location to return.

string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetInterconnectLocationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetInterconnectLocationRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetInterconnectLocationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetInterconnectLocationRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInterconnectLocationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInterconnectLocation()

public String getInterconnectLocation()

Name of the interconnect location to return.

string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The interconnectLocation.

getInterconnectLocationBytes()

public ByteString getInterconnectLocationBytes()

Name of the interconnect location to return.

string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for interconnectLocation.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetInterconnectLocationRequest other)

public GetInterconnectLocationRequest.Builder mergeFrom(GetInterconnectLocationRequest other)
Parameter
NameDescription
otherGetInterconnectLocationRequest
Returns
TypeDescription
GetInterconnectLocationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnectLocation(String value)

public GetInterconnectLocationRequest.Builder setInterconnectLocation(String value)

Name of the interconnect location to return.

string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The interconnectLocation to set.

Returns
TypeDescription
GetInterconnectLocationRequest.Builder

This builder for chaining.

setInterconnectLocationBytes(ByteString value)

public GetInterconnectLocationRequest.Builder setInterconnectLocationBytes(ByteString value)

Name of the interconnect location to return.

string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for interconnectLocation to set.

Returns
TypeDescription
GetInterconnectLocationRequest.Builder

This builder for chaining.

setProject(String value)

public GetInterconnectLocationRequest.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
GetInterconnectLocationRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetInterconnectLocationRequest.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
GetInterconnectLocationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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