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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetInterconnectLocationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetInterconnectLocationRequest build()
Returns
buildPartial()
public GetInterconnectLocationRequest buildPartial()
Returns
clear()
public GetInterconnectLocationRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetInterconnectLocationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInterconnectLocation()
public GetInterconnectLocationRequest.Builder clearInterconnectLocation()
Name of the interconnect location to return.
string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetInterconnectLocationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetInterconnectLocationRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetInterconnectLocationRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetInterconnectLocationRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetInterconnectLocationRequest other)
public GetInterconnectLocationRequest.Builder mergeFrom(GetInterconnectLocationRequest other)
Parameter
Returns
public GetInterconnectLocationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetInterconnectLocationRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetInterconnectLocationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetInterconnectLocationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetInterconnectLocationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetInterconnectLocationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides