Class GetInterconnectRemoteLocationRequest.Builder (1.65.0)

public static final class GetInterconnectRemoteLocationRequest.Builder extends GeneratedMessageV3.Builder<GetInterconnectRemoteLocationRequest.Builder> implements GetInterconnectRemoteLocationRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetInterconnectRemoteLocationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInterconnectRemoteLocationRequest build()
Returns
Type Description
GetInterconnectRemoteLocationRequest

buildPartial()

public GetInterconnectRemoteLocationRequest buildPartial()
Returns
Type Description
GetInterconnectRemoteLocationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnectRemoteLocation()

public GetInterconnectRemoteLocationRequest.Builder clearInterconnectRemoteLocation()

Name of the interconnect remote location to return.

string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetInterconnectRemoteLocationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetInterconnectRemoteLocationRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetInterconnectRemoteLocationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetInterconnectRemoteLocationRequest getDefaultInstanceForType()
Returns
Type Description
GetInterconnectRemoteLocationRequest

getDescriptorForType()

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

getInterconnectRemoteLocation()

public String getInterconnectRemoteLocation()

Name of the interconnect remote location to return.

string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The interconnectRemoteLocation.

getInterconnectRemoteLocationBytes()

public ByteString getInterconnectRemoteLocationBytes()

Name of the interconnect remote location to return.

string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for interconnectRemoteLocation.

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(GetInterconnectRemoteLocationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnectRemoteLocation(String value)

public GetInterconnectRemoteLocationRequest.Builder setInterconnectRemoteLocation(String value)

Name of the interconnect remote location to return.

string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The interconnectRemoteLocation to set.

Returns
Type Description
GetInterconnectRemoteLocationRequest.Builder

This builder for chaining.

setInterconnectRemoteLocationBytes(ByteString value)

public GetInterconnectRemoteLocationRequest.Builder setInterconnectRemoteLocationBytes(ByteString value)

Name of the interconnect remote location to return.

string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for interconnectRemoteLocation to set.

Returns
Type Description
GetInterconnectRemoteLocationRequest.Builder

This builder for chaining.

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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