Class UpdateConnectivityTestRequest.Builder (1.44.0)

public static final class UpdateConnectivityTestRequest.Builder extends GeneratedMessageV3.Builder<UpdateConnectivityTestRequest.Builder> implements UpdateConnectivityTestRequestOrBuilder

Request for the UpdateConnectivityTest method.

Protobuf type google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConnectivityTestRequest build()
Returns
Type Description
UpdateConnectivityTestRequest

buildPartial()

public UpdateConnectivityTestRequest buildPartial()
Returns
Type Description
UpdateConnectivityTestRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public UpdateConnectivityTestRequest.Builder clearResource()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConnectivityTestRequest.Builder

clearUpdateMask()

public UpdateConnectivityTestRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConnectivityTestRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateConnectivityTestRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConnectivityTestRequest

getDescriptorForType()

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

getResource()

public ConnectivityTest getResource()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectivityTest

The resource.

getResourceBuilder()

public ConnectivityTest.Builder getResourceBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectivityTest.Builder

getResourceOrBuilder()

public ConnectivityTestOrBuilder getResourceOrBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectivityTestOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasResource()

public boolean hasResource()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resource field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateConnectivityTestRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResource(ConnectivityTest value)

public UpdateConnectivityTestRequest.Builder mergeResource(ConnectivityTest value)

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConnectivityTest
Returns
Type Description
UpdateConnectivityTestRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateConnectivityTestRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConnectivityTestRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResource(ConnectivityTest value)

public UpdateConnectivityTestRequest.Builder setResource(ConnectivityTest value)

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConnectivityTest
Returns
Type Description
UpdateConnectivityTestRequest.Builder

setResource(ConnectivityTest.Builder builderForValue)

public UpdateConnectivityTestRequest.Builder setResource(ConnectivityTest.Builder builderForValue)

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.ConnectivityTest resource = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConnectivityTest.Builder
Returns
Type Description
UpdateConnectivityTestRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateConnectivityTestRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConnectivityTestRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConnectivityTestRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateConnectivityTestRequest.Builder