Class GetInterconnectLocationRequest.Builder (1.93.0)

public static final class GetInterconnectLocationRequest.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.