public static final class CreateSipTrunkRequest.Builder extends GeneratedMessageV3.Builder<CreateSipTrunkRequest.Builder> implements CreateSipTrunkRequestOrBuilder
The request message for
SipTrunks.CreateSipTrunk.
Protobuf type google.cloud.dialogflow.v2beta1.CreateSipTrunkRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateSipTrunkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateSipTrunkRequest build()
buildPartial()
public CreateSipTrunkRequest buildPartial()
clear()
public CreateSipTrunkRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateSipTrunkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateSipTrunkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateSipTrunkRequest.Builder clearParent()
Required. The location to create a SIP trunk for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSipTrunk()
public CreateSipTrunkRequest.Builder clearSipTrunk()
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateSipTrunkRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateSipTrunkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The location to create a SIP trunk for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The location to create a SIP trunk for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getSipTrunk()
public SipTrunk getSipTrunk()
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
SipTrunk |
The sipTrunk.
|
getSipTrunkBuilder()
public SipTrunk.Builder getSipTrunkBuilder()
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
getSipTrunkOrBuilder()
public SipTrunkOrBuilder getSipTrunkOrBuilder()
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
hasSipTrunk()
public boolean hasSipTrunk()
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the sipTrunk field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateSipTrunkRequest other)
public CreateSipTrunkRequest.Builder mergeFrom(CreateSipTrunkRequest other)
public CreateSipTrunkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateSipTrunkRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSipTrunk(SipTrunk value)
public CreateSipTrunkRequest.Builder mergeSipTrunk(SipTrunk value)
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
SipTrunk
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateSipTrunkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateSipTrunkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateSipTrunkRequest.Builder setParent(String value)
Required. The location to create a SIP trunk for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateSipTrunkRequest.Builder setParentBytes(ByteString value)
Required. The location to create a SIP trunk for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateSipTrunkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSipTrunk(SipTrunk value)
public CreateSipTrunkRequest.Builder setSipTrunk(SipTrunk value)
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
SipTrunk
|
setSipTrunk(SipTrunk.Builder builderForValue)
public CreateSipTrunkRequest.Builder setSipTrunk(SipTrunk.Builder builderForValue)
Required. The SIP trunk to create.
.google.cloud.dialogflow.v2beta1.SipTrunk sip_trunk = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateSipTrunkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides