Class DiagnoseRouterResponse.Builder (0.8.0)

public static final class DiagnoseRouterResponse.Builder extends GeneratedMessageV3.Builder<DiagnoseRouterResponse.Builder> implements DiagnoseRouterResponseOrBuilder

DiagnoseRouterResponse contains the current status for a specific router.

Protobuf type google.cloud.edgenetwork.v1.DiagnoseRouterResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiagnoseRouterResponse build()
Returns
TypeDescription
DiagnoseRouterResponse

buildPartial()

public DiagnoseRouterResponse buildPartial()
Returns
TypeDescription
DiagnoseRouterResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public DiagnoseRouterResponse.Builder clearResult()

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Returns
TypeDescription
DiagnoseRouterResponse.Builder

clearUpdateTime()

public DiagnoseRouterResponse.Builder clearUpdateTime()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
DiagnoseRouterResponse.Builder

clone()

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

getDefaultInstanceForType()

public DiagnoseRouterResponse getDefaultInstanceForType()
Returns
TypeDescription
DiagnoseRouterResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public RouterStatus getResult()

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Returns
TypeDescription
RouterStatus

The result.

getResultBuilder()

public RouterStatus.Builder getResultBuilder()

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Returns
TypeDescription
RouterStatus.Builder

getResultOrBuilder()

public RouterStatusOrBuilder getResultOrBuilder()

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Returns
TypeDescription
RouterStatusOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasResult()

public boolean hasResult()

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Returns
TypeDescription
boolean

Whether the result field is set.

hasUpdateTime()

public boolean hasUpdateTime()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiagnoseRouterResponse other)

public DiagnoseRouterResponse.Builder mergeFrom(DiagnoseRouterResponse other)
Parameter
NameDescription
otherDiagnoseRouterResponse
Returns
TypeDescription
DiagnoseRouterResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(RouterStatus value)

public DiagnoseRouterResponse.Builder mergeResult(RouterStatus value)

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Parameter
NameDescription
valueRouterStatus
Returns
TypeDescription
DiagnoseRouterResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public DiagnoseRouterResponse.Builder mergeUpdateTime(Timestamp value)

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DiagnoseRouterResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(RouterStatus value)

public DiagnoseRouterResponse.Builder setResult(RouterStatus value)

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Parameter
NameDescription
valueRouterStatus
Returns
TypeDescription
DiagnoseRouterResponse.Builder

setResult(RouterStatus.Builder builderForValue)

public DiagnoseRouterResponse.Builder setResult(RouterStatus.Builder builderForValue)

The network status of a specific router.

.google.cloud.edgenetwork.v1.RouterStatus result = 2;

Parameter
NameDescription
builderForValueRouterStatus.Builder
Returns
TypeDescription
DiagnoseRouterResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public DiagnoseRouterResponse.Builder setUpdateTime(Timestamp value)

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DiagnoseRouterResponse.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public DiagnoseRouterResponse.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DiagnoseRouterResponse.Builder