Class DiagnoseNetworkRequest.Builder (0.11.0)

public static final class DiagnoseNetworkRequest.Builder extends GeneratedMessageV3.Builder<DiagnoseNetworkRequest.Builder> implements DiagnoseNetworkRequestOrBuilder

Message for requesting the diagnostics of a network within a specific zone.

Protobuf type google.cloud.edgenetwork.v1.DiagnoseNetworkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiagnoseNetworkRequest build()
Returns
Type Description
DiagnoseNetworkRequest

buildPartial()

public DiagnoseNetworkRequest buildPartial()
Returns
Type Description
DiagnoseNetworkRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DiagnoseNetworkRequest.Builder clearName()

Required. The name of the network resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DiagnoseNetworkRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiagnoseNetworkRequest getDefaultInstanceForType()
Returns
Type Description
DiagnoseNetworkRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the network resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the network resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiagnoseNetworkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DiagnoseNetworkRequest.Builder setName(String value)

Required. The name of the network resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DiagnoseNetworkRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DiagnoseNetworkRequest.Builder setNameBytes(ByteString value)

Required. The name of the network resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DiagnoseNetworkRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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