Class RerunConnectivityTestRequest.Builder (1.18.0)

public static final class RerunConnectivityTestRequest.Builder extends GeneratedMessageV3.Builder<RerunConnectivityTestRequest.Builder> implements RerunConnectivityTestRequestOrBuilder

Request for the RerunConnectivityTest method.

Protobuf type google.cloud.networkmanagement.v1beta1.RerunConnectivityTestRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RerunConnectivityTestRequest build()
Returns
TypeDescription
RerunConnectivityTestRequest

buildPartial()

public RerunConnectivityTestRequest buildPartial()
Returns
TypeDescription
RerunConnectivityTestRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RerunConnectivityTestRequest.Builder clearName()

Required. Connectivity Test resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RerunConnectivityTestRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RerunConnectivityTestRequest getDefaultInstanceForType()
Returns
TypeDescription
RerunConnectivityTestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Connectivity Test resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Connectivity Test resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RerunConnectivityTestRequest other)

public RerunConnectivityTestRequest.Builder mergeFrom(RerunConnectivityTestRequest other)
Parameter
NameDescription
otherRerunConnectivityTestRequest
Returns
TypeDescription
RerunConnectivityTestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RerunConnectivityTestRequest.Builder setName(String value)

Required. Connectivity Test resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
RerunConnectivityTestRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RerunConnectivityTestRequest.Builder setNameBytes(ByteString value)

Required. Connectivity Test resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
RerunConnectivityTestRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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