Class GetInterconnectLocationRequest.Builder (1.55.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInterconnectLocationRequest build()
Returns
Type Description
GetInterconnectLocationRequest

buildPartial()

public GetInterconnectLocationRequest buildPartial()
Returns
Type Description
GetInterconnectLocationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetInterconnectLocationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
GetInterconnectLocationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetInterconnectLocationRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetInterconnectLocationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetInterconnectLocationRequest getDefaultInstanceForType()
Returns
Type Description
GetInterconnectLocationRequest

getDescriptorForType()

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

getInterconnectLocation()

public String getInterconnectLocation()

Name of the interconnect location to return.

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

Returns
Type Description
String

The interconnectLocation.

getInterconnectLocationBytes()

public ByteString getInterconnectLocationBytes()

Name of the interconnect location to return.

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

Returns
Type Description
ByteString

The bytes for interconnectLocation.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetInterconnectLocationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetInterconnectLocationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The interconnectLocation to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for interconnectLocation to set.

Returns
Type Description
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
Name Description
value String

The project to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetInterconnectLocationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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