Class DiagnoseRouterResponse.Builder (0.16.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiagnoseRouterResponse build()
Returns
Type Description
DiagnoseRouterResponse

buildPartial()

public DiagnoseRouterResponse buildPartial()
Returns
Type Description
DiagnoseRouterResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public DiagnoseRouterResponse.Builder clearResult()

The network status of a specific router.

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

Returns
Type Description
DiagnoseRouterResponse.Builder

clearUpdateTime()

public DiagnoseRouterResponse.Builder clearUpdateTime()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
DiagnoseRouterResponse.Builder

clone()

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

getDefaultInstanceForType()

public DiagnoseRouterResponse getDefaultInstanceForType()
Returns
Type Description
DiagnoseRouterResponse

getDescriptorForType()

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

getResult()

public RouterStatus getResult()

The network status of a specific router.

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

Returns
Type Description
RouterStatus

The result.

getResultBuilder()

public RouterStatus.Builder getResultBuilder()

The network status of a specific router.

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

Returns
Type Description
RouterStatus.Builder

getResultOrBuilder()

public RouterStatusOrBuilder getResultOrBuilder()

The network status of a specific router.

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

Returns
Type Description
RouterStatusOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time when the router status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
TimestampOrBuilder

hasResult()

public boolean hasResult()

The network status of a specific router.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiagnoseRouterResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DiagnoseRouterResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value RouterStatus
Returns
Type Description
DiagnoseRouterResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiagnoseRouterResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
DiagnoseRouterResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DiagnoseRouterResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value RouterStatus
Returns
Type Description
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
Name Description
builderForValue RouterStatus.Builder
Returns
Type Description
DiagnoseRouterResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DiagnoseRouterResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
DiagnoseRouterResponse.Builder