Class InterconnectsGetDiagnosticsResponse.Builder (1.28.0)

public static final class InterconnectsGetDiagnosticsResponse.Builder extends GeneratedMessageV3.Builder<InterconnectsGetDiagnosticsResponse.Builder> implements InterconnectsGetDiagnosticsResponseOrBuilder

Response for the InterconnectsGetDiagnosticsRequest.

Protobuf type google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectsGetDiagnosticsResponse build()
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse

buildPartial()

public InterconnectsGetDiagnosticsResponse buildPartial()
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InterconnectsGetDiagnosticsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public InterconnectsGetDiagnosticsResponse.Builder clearResult()

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder

clone()

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

getDefaultInstanceForType()

public InterconnectsGetDiagnosticsResponse getDefaultInstanceForType()
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public InterconnectDiagnostics getResult()

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Returns
TypeDescription
InterconnectDiagnostics

The result.

getResultBuilder()

public InterconnectDiagnostics.Builder getResultBuilder()

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Returns
TypeDescription
InterconnectDiagnostics.Builder

getResultOrBuilder()

public InterconnectDiagnosticsOrBuilder getResultOrBuilder()

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Returns
TypeDescription
InterconnectDiagnosticsOrBuilder

hasResult()

public boolean hasResult()

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectsGetDiagnosticsResponse other)

public InterconnectsGetDiagnosticsResponse.Builder mergeFrom(InterconnectsGetDiagnosticsResponse other)
Parameter
NameDescription
otherInterconnectsGetDiagnosticsResponse
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(InterconnectDiagnostics value)

public InterconnectsGetDiagnosticsResponse.Builder mergeResult(InterconnectDiagnostics value)

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Parameter
NameDescription
valueInterconnectDiagnostics
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public InterconnectsGetDiagnosticsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder
Overrides

setResult(InterconnectDiagnostics value)

public InterconnectsGetDiagnosticsResponse.Builder setResult(InterconnectDiagnostics value)

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Parameter
NameDescription
valueInterconnectDiagnostics
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder

setResult(InterconnectDiagnostics.Builder builderForValue)

public InterconnectsGetDiagnosticsResponse.Builder setResult(InterconnectDiagnostics.Builder builderForValue)

optional .google.cloud.compute.v1.InterconnectDiagnostics result = 139315229;

Parameter
NameDescription
builderForValueInterconnectDiagnostics.Builder
Returns
TypeDescription
InterconnectsGetDiagnosticsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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