Class GetInterconnectRemoteLocationRequest.Builder (1.50.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInterconnectRemoteLocationRequest build()
Returns
TypeDescription
GetInterconnectRemoteLocationRequest

buildPartial()

public GetInterconnectRemoteLocationRequest buildPartial()
Returns
TypeDescription
GetInterconnectRemoteLocationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetInterconnectRemoteLocationRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetInterconnectRemoteLocationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetInterconnectRemoteLocationRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInterconnectRemoteLocationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for interconnectRemoteLocation.

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

public GetInterconnectRemoteLocationRequest.Builder mergeFrom(GetInterconnectRemoteLocationRequest other)
Parameter
NameDescription
otherGetInterconnectRemoteLocationRequest
Returns
TypeDescription
GetInterconnectRemoteLocationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The interconnectRemoteLocation to set.

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

The bytes for interconnectRemoteLocation to set.

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

The project to set.

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

The bytes for project to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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