Class DiagnoseNetworkResponse.Builder (0.12.0)

public static final class DiagnoseNetworkResponse.Builder extends GeneratedMessageV3.Builder<DiagnoseNetworkResponse.Builder> implements DiagnoseNetworkResponseOrBuilder

DiagnoseNetworkResponse contains the current status for a specific network.

Protobuf type google.cloud.edgenetwork.v1.DiagnoseNetworkResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiagnoseNetworkResponse build()
Returns
Type Description
DiagnoseNetworkResponse

buildPartial()

public DiagnoseNetworkResponse buildPartial()
Returns
Type Description
DiagnoseNetworkResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public DiagnoseNetworkResponse.Builder clearResult()

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Returns
Type Description
DiagnoseNetworkResponse.Builder

clearUpdateTime()

public DiagnoseNetworkResponse.Builder clearUpdateTime()

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
DiagnoseNetworkResponse.Builder

clone()

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

getDefaultInstanceForType()

public DiagnoseNetworkResponse getDefaultInstanceForType()
Returns
Type Description
DiagnoseNetworkResponse

getDescriptorForType()

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

getResult()

public DiagnoseNetworkResponse.NetworkStatus getResult()

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus

The result.

getResultBuilder()

public DiagnoseNetworkResponse.NetworkStatus.Builder getResultBuilder()

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatus.Builder

getResultOrBuilder()

public DiagnoseNetworkResponse.NetworkStatusOrBuilder getResultOrBuilder()

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Returns
Type Description
DiagnoseNetworkResponse.NetworkStatusOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The time when the network 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 network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
Type Description
TimestampOrBuilder

hasResult()

public boolean hasResult()

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Returns
Type Description
boolean

Whether the result field is set.

hasUpdateTime()

public boolean hasUpdateTime()

The time when the network 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(DiagnoseNetworkResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(DiagnoseNetworkResponse.NetworkStatus value)

public DiagnoseNetworkResponse.Builder mergeResult(DiagnoseNetworkResponse.NetworkStatus value)

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Parameter
Name Description
value DiagnoseNetworkResponse.NetworkStatus
Returns
Type Description
DiagnoseNetworkResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public DiagnoseNetworkResponse.Builder mergeUpdateTime(Timestamp value)

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DiagnoseNetworkResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(DiagnoseNetworkResponse.NetworkStatus value)

public DiagnoseNetworkResponse.Builder setResult(DiagnoseNetworkResponse.NetworkStatus value)

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Parameter
Name Description
value DiagnoseNetworkResponse.NetworkStatus
Returns
Type Description
DiagnoseNetworkResponse.Builder

setResult(DiagnoseNetworkResponse.NetworkStatus.Builder builderForValue)

public DiagnoseNetworkResponse.Builder setResult(DiagnoseNetworkResponse.NetworkStatus.Builder builderForValue)

The network status of a specific network.

.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus result = 2;

Parameter
Name Description
builderForValue DiagnoseNetworkResponse.NetworkStatus.Builder
Returns
Type Description
DiagnoseNetworkResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public DiagnoseNetworkResponse.Builder setUpdateTime(Timestamp value)

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DiagnoseNetworkResponse.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public DiagnoseNetworkResponse.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DiagnoseNetworkResponse.Builder