Class CreateSecuritySettingsRequest.Builder (0.45.0)

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.v3.CreateSecuritySettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSecuritySettingsRequest build()
Returns
Type Description
CreateSecuritySettingsRequest

buildPartial()

public CreateSecuritySettingsRequest buildPartial()
Returns
Type Description
CreateSecuritySettingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateSecuritySettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
CreateSecuritySettingsRequest.Builder

This builder for chaining.

clearSecuritySettings()

public CreateSecuritySettingsRequest.Builder clearSecuritySettings()

Required. The security settings to create.

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

Returns
Type Description
CreateSecuritySettingsRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateSecuritySettingsRequest getDefaultInstanceForType()
Returns
Type Description
CreateSecuritySettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

getSecuritySettings()

public SecuritySettings getSecuritySettings()

Required. The security settings to create.

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

Returns
Type Description
SecuritySettings

The securitySettings.

getSecuritySettingsBuilder()

public SecuritySettings.Builder getSecuritySettingsBuilder()

Required. The security settings to create.

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

Returns
Type Description
SecuritySettings.Builder

getSecuritySettingsOrBuilder()

public SecuritySettingsOrBuilder getSecuritySettingsOrBuilder()

Required. The security settings to create.

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

Returns
Type Description
SecuritySettingsOrBuilder

hasSecuritySettings()

public boolean hasSecuritySettings()

Required. The security settings to create.

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

Returns
Type Description
boolean

Whether the securitySettings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSecuritySettingsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSecuritySettings(SecuritySettings value)

public CreateSecuritySettingsRequest.Builder mergeSecuritySettings(SecuritySettings value)

Required. The security settings to create.

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

Parameter
Name Description
value SecuritySettings
Returns
Type Description
CreateSecuritySettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateSecuritySettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The parent to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateSecuritySettingsRequest.Builder
Overrides

setSecuritySettings(SecuritySettings value)

public CreateSecuritySettingsRequest.Builder setSecuritySettings(SecuritySettings value)

Required. The security settings to create.

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

Parameter
Name Description
value SecuritySettings
Returns
Type Description
CreateSecuritySettingsRequest.Builder

setSecuritySettings(SecuritySettings.Builder builderForValue)

public CreateSecuritySettingsRequest.Builder setSecuritySettings(SecuritySettings.Builder builderForValue)

Required. The security settings to create.

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

Parameter
Name Description
builderForValue SecuritySettings.Builder
Returns
Type Description
CreateSecuritySettingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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