Class CreateSecuritySettingsRequest.Builder (0.14.1)

public static final class CreateSecuritySettingsRequest.Builder extends GeneratedMessageV3.Builder<CreateSecuritySettingsRequest.Builder> implements CreateSecuritySettingsRequestOrBuilder

The request message for [SecuritySettings.CreateSecuritySettings][].

Protobuf type google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSecuritySettingsRequest build()
Returns
TypeDescription
CreateSecuritySettingsRequest

buildPartial()

public CreateSecuritySettingsRequest buildPartial()
Returns
TypeDescription
CreateSecuritySettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateSecuritySettingsRequest.Builder clearParent()

Required. The location to create an SecuritySettings for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

This builder for chaining.

clearSecuritySettings()

public CreateSecuritySettingsRequest.Builder clearSecuritySettings()

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateSecuritySettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateSecuritySettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The location to create an SecuritySettings for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The location to create an SecuritySettings for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getSecuritySettings()

public SecuritySettings getSecuritySettings()

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecuritySettings

The securitySettings.

getSecuritySettingsBuilder()

public SecuritySettings.Builder getSecuritySettingsBuilder()

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecuritySettings.Builder

getSecuritySettingsOrBuilder()

public SecuritySettingsOrBuilder getSecuritySettingsOrBuilder()

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecuritySettingsOrBuilder

hasSecuritySettings()

public boolean hasSecuritySettings()

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the securitySettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateSecuritySettingsRequest other)

public CreateSecuritySettingsRequest.Builder mergeFrom(CreateSecuritySettingsRequest other)
Parameter
NameDescription
otherCreateSecuritySettingsRequest
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSecuritySettings(SecuritySettings value)

public CreateSecuritySettingsRequest.Builder mergeSecuritySettings(SecuritySettings value)

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSecuritySettings
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateSecuritySettingsRequest.Builder setParent(String value)

Required. The location to create an SecuritySettings for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSecuritySettingsRequest.Builder setParentBytes(ByteString value)

Required. The location to create an SecuritySettings for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

This builder for chaining.

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

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

setSecuritySettings(SecuritySettings value)

public CreateSecuritySettingsRequest.Builder setSecuritySettings(SecuritySettings value)

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSecuritySettings
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

setSecuritySettings(SecuritySettings.Builder builderForValue)

public CreateSecuritySettingsRequest.Builder setSecuritySettings(SecuritySettings.Builder builderForValue)

Required. The security settings to create.

.google.cloud.dialogflow.cx.v3beta1.SecuritySettings security_settings = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSecuritySettings.Builder
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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