Class GetConnectivityTestRequest.Builder (1.7.0)

public static final class GetConnectivityTestRequest.Builder extends GeneratedMessageV3.Builder<GetConnectivityTestRequest.Builder> implements GetConnectivityTestRequestOrBuilder

Request for the GetConnectivityTest method.

Protobuf type google.cloud.networkmanagement.v1.GetConnectivityTestRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConnectivityTestRequest build()
Returns
TypeDescription
GetConnectivityTestRequest

buildPartial()

public GetConnectivityTestRequest buildPartial()
Returns
TypeDescription
GetConnectivityTestRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetConnectivityTestRequest.Builder clearName()

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

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

Returns
TypeDescription
GetConnectivityTestRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetConnectivityTestRequest getDefaultInstanceForType()
Returns
TypeDescription
GetConnectivityTestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. ConnectivityTest 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. ConnectivityTest 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(GetConnectivityTestRequest other)

public GetConnectivityTestRequest.Builder mergeFrom(GetConnectivityTestRequest other)
Parameter
NameDescription
otherGetConnectivityTestRequest
Returns
TypeDescription
GetConnectivityTestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetConnectivityTestRequest.Builder setName(String value)

Required. ConnectivityTest 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
GetConnectivityTestRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConnectivityTestRequest.Builder setNameBytes(ByteString value)

Required. ConnectivityTest 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
GetConnectivityTestRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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