Class UpdateConnectivityTestRequest.Builder (1.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConnectivityTestRequest build()
Returns
TypeDescription
UpdateConnectivityTestRequest

buildPartial()

public UpdateConnectivityTestRequest buildPartial()
Returns
TypeDescription
UpdateConnectivityTestRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConnectivityTestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateConnectivityTestRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateConnectivityTestRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConnectivityTestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateConnectivityTestRequest other)

public UpdateConnectivityTestRequest.Builder mergeFrom(UpdateConnectivityTestRequest other)
Parameter
NameDescription
otherUpdateConnectivityTestRequest
Returns
TypeDescription
UpdateConnectivityTestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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