public static final class GetDiagnosticsInterconnectRequest.Builder extends GeneratedMessageV3.Builder<GetDiagnosticsInterconnectRequest.Builder> implements GetDiagnosticsInterconnectRequestOrBuilder
A request message for Interconnects.GetDiagnostics. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiagnosticsInterconnectRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDiagnosticsInterconnectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetDiagnosticsInterconnectRequest build()
Returns
buildPartial()
public GetDiagnosticsInterconnectRequest buildPartial()
Returns
clear()
public GetDiagnosticsInterconnectRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetDiagnosticsInterconnectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInterconnect()
public GetDiagnosticsInterconnectRequest.Builder clearInterconnect()
Name of the interconnect resource to query.
string interconnect = 224601230 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDiagnosticsInterconnectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetDiagnosticsInterconnectRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetDiagnosticsInterconnectRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetDiagnosticsInterconnectRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInterconnect()
public String getInterconnect()
Name of the interconnect resource to query.
string interconnect = 224601230 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The interconnect.
|
getInterconnectBytes()
public ByteString getInterconnectBytes()
Name of the interconnect resource to query.
string interconnect = 224601230 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for interconnect.
|
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(GetDiagnosticsInterconnectRequest other)
public GetDiagnosticsInterconnectRequest.Builder mergeFrom(GetDiagnosticsInterconnectRequest other)
Parameter
Returns
public GetDiagnosticsInterconnectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetDiagnosticsInterconnectRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDiagnosticsInterconnectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetDiagnosticsInterconnectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInterconnect(String value)
public GetDiagnosticsInterconnectRequest.Builder setInterconnect(String value)
Name of the interconnect resource to query.
string interconnect = 224601230 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The interconnect to set.
|
Returns
setInterconnectBytes(ByteString value)
public GetDiagnosticsInterconnectRequest.Builder setInterconnectBytes(ByteString value)
Name of the interconnect resource to query.
string interconnect = 224601230 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for interconnect to set.
|
Returns
setProject(String value)
public GetDiagnosticsInterconnectRequest.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 GetDiagnosticsInterconnectRequest.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 GetDiagnosticsInterconnectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDiagnosticsInterconnectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides