Class InterconnectsGetDiagnosticsResponse.Builder (1.62.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectsGetDiagnosticsResponse build()
Returns
Type Description
InterconnectsGetDiagnosticsResponse

buildPartial()

public InterconnectsGetDiagnosticsResponse buildPartial()
Returns
Type Description
InterconnectsGetDiagnosticsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public InterconnectsGetDiagnosticsResponse.Builder clearResult()

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

Returns
Type Description
InterconnectsGetDiagnosticsResponse.Builder

clone()

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

getDefaultInstanceForType()

public InterconnectsGetDiagnosticsResponse getDefaultInstanceForType()
Returns
Type Description
InterconnectsGetDiagnosticsResponse

getDescriptorForType()

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

getResult()

public InterconnectDiagnostics getResult()

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

Returns
Type Description
InterconnectDiagnostics

The result.

getResultBuilder()

public InterconnectDiagnostics.Builder getResultBuilder()

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

Returns
Type Description
InterconnectDiagnostics.Builder

getResultOrBuilder()

public InterconnectDiagnosticsOrBuilder getResultOrBuilder()

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

Returns
Type Description
InterconnectDiagnosticsOrBuilder

hasResult()

public boolean hasResult()

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

Returns
Type Description
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectsGetDiagnosticsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(InterconnectDiagnostics value)

public InterconnectsGetDiagnosticsResponse.Builder mergeResult(InterconnectDiagnostics value)

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

Parameter
Name Description
value InterconnectDiagnostics
Returns
Type Description
InterconnectsGetDiagnosticsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(InterconnectDiagnostics value)

public InterconnectsGetDiagnosticsResponse.Builder setResult(InterconnectDiagnostics value)

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

Parameter
Name Description
value InterconnectDiagnostics
Returns
Type Description
InterconnectsGetDiagnosticsResponse.Builder

setResult(InterconnectDiagnostics.Builder builderForValue)

public InterconnectsGetDiagnosticsResponse.Builder setResult(InterconnectDiagnostics.Builder builderForValue)

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

Parameter
Name Description
builderForValue InterconnectDiagnostics.Builder
Returns
Type Description
InterconnectsGetDiagnosticsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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