Class UpdateSipTrunkRequest.Builder (4.60.0)

public static final class UpdateSipTrunkRequest.Builder extends GeneratedMessageV3.Builder<UpdateSipTrunkRequest.Builder> implements UpdateSipTrunkRequestOrBuilder

The request message for SipTrunks.UpdateSipTrunk.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateSipTrunkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSipTrunkRequest build()
Returns
Type Description
UpdateSipTrunkRequest

buildPartial()

public UpdateSipTrunkRequest buildPartial()
Returns
Type Description
UpdateSipTrunkRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSipTrunk()

public UpdateSipTrunkRequest.Builder clearSipTrunk()

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSipTrunkRequest.Builder

clearUpdateMask()

public UpdateSipTrunkRequest.Builder clearUpdateMask()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateSipTrunkRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateSipTrunkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSipTrunkRequest

getDescriptorForType()

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

getSipTrunk()

public SipTrunk getSipTrunk()

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SipTrunk

The sipTrunk.

getSipTrunkBuilder()

public SipTrunk.Builder getSipTrunkBuilder()

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SipTrunk.Builder

getSipTrunkOrBuilder()

public SipTrunkOrBuilder getSipTrunkOrBuilder()

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SipTrunkOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasSipTrunk()

public boolean hasSipTrunk()

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sipTrunk field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

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(UpdateSipTrunkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSipTrunk(SipTrunk value)

public UpdateSipTrunkRequest.Builder mergeSipTrunk(SipTrunk value)

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SipTrunk
Returns
Type Description
UpdateSipTrunkRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateSipTrunkRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSipTrunkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSipTrunk(SipTrunk value)

public UpdateSipTrunkRequest.Builder setSipTrunk(SipTrunk value)

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SipTrunk
Returns
Type Description
UpdateSipTrunkRequest.Builder

setSipTrunk(SipTrunk.Builder builderForValue)

public UpdateSipTrunkRequest.Builder setSipTrunk(SipTrunk.Builder builderForValue)

Required. The SipTrunk to update.

.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SipTrunk.Builder
Returns
Type Description
UpdateSipTrunkRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateSipTrunkRequest.Builder setUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSipTrunkRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSipTrunkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSipTrunkRequest.Builder