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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateSecuritySettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateSecuritySettingsRequest build()
Returns
buildPartial()
public CreateSecuritySettingsRequest buildPartial()
Returns
clear()
public CreateSecuritySettingsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateSecuritySettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateSecuritySettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public CreateSecuritySettingsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateSecuritySettingsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
Type |
Description |
boolean |
Whether the securitySettings field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateSecuritySettingsRequest other)
public CreateSecuritySettingsRequest.Builder mergeFrom(CreateSecuritySettingsRequest other)
Parameter
Returns
public CreateSecuritySettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateSecuritySettingsRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateSecuritySettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateSecuritySettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateSecuritySettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateSecuritySettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides