Class DiagnoseNetworkResponse.Builder (0.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiagnoseNetworkResponse build()
Returns
TypeDescription
DiagnoseNetworkResponse

buildPartial()

public DiagnoseNetworkResponse buildPartial()
Returns
TypeDescription
DiagnoseNetworkResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public DiagnoseNetworkResponse.Builder clearResult()

The network status of a specific network.

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

Returns
TypeDescription
DiagnoseNetworkResponse.Builder

clearUpdateTime()

public DiagnoseNetworkResponse.Builder clearUpdateTime()

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
DiagnoseNetworkResponse.Builder

clone()

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

getDefaultInstanceForType()

public DiagnoseNetworkResponse getDefaultInstanceForType()
Returns
TypeDescription
DiagnoseNetworkResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public DiagnoseNetworkResponse.NetworkStatus getResult()

The network status of a specific network.

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

Returns
TypeDescription
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
TypeDescription
DiagnoseNetworkResponse.NetworkStatus.Builder

getResultOrBuilder()

public DiagnoseNetworkResponse.NetworkStatusOrBuilder getResultOrBuilder()

The network status of a specific network.

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

Returns
TypeDescription
DiagnoseNetworkResponse.NetworkStatusOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time when the network status was last updated.

.google.protobuf.Timestamp update_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasResult()

public boolean hasResult()

The network status of a specific network.

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

Returns
TypeDescription
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
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(DiagnoseNetworkResponse other)

public DiagnoseNetworkResponse.Builder mergeFrom(DiagnoseNetworkResponse other)
Parameter
NameDescription
otherDiagnoseNetworkResponse
Returns
TypeDescription
DiagnoseNetworkResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DiagnoseNetworkResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDiagnoseNetworkResponse.NetworkStatus
Returns
TypeDescription
DiagnoseNetworkResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiagnoseNetworkResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DiagnoseNetworkResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DiagnoseNetworkResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDiagnoseNetworkResponse.NetworkStatus
Returns
TypeDescription
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
NameDescription
builderForValueDiagnoseNetworkResponse.NetworkStatus.Builder
Returns
TypeDescription
DiagnoseNetworkResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DiagnoseNetworkResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DiagnoseNetworkResponse.Builder