Class CreateSecuritySettingsRequest (0.14.2)

public final class CreateSecuritySettingsRequest extends GeneratedMessageV3 implements CreateSecuritySettingsRequestOrBuilder

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

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

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

SECURITY_SETTINGS_FIELD_NUMBER

public static final int SECURITY_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateSecuritySettingsRequest getDefaultInstance()
Returns
TypeDescription
CreateSecuritySettingsRequest

getDescriptor()

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

newBuilder()

public static CreateSecuritySettingsRequest.Builder newBuilder()
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

newBuilder(CreateSecuritySettingsRequest prototype)

public static CreateSecuritySettingsRequest.Builder newBuilder(CreateSecuritySettingsRequest prototype)
Parameter
NameDescription
prototypeCreateSecuritySettingsRequest
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateSecuritySettingsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateSecuritySettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateSecuritySettingsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateSecuritySettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateSecuritySettingsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateSecuritySettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateSecuritySettingsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateSecuritySettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateSecuritySettingsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateSecuritySettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateSecuritySettingsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateSecuritySettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateSecuritySettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateSecuritySettingsRequest> parser()
Returns
TypeDescription
Parser<CreateSecuritySettingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateSecuritySettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateSecuritySettingsRequest

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.

getParserForType()

public Parser<CreateSecuritySettingsRequest> getParserForType()
Returns
TypeDescription
Parser<CreateSecuritySettingsRequest>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateSecuritySettingsRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateSecuritySettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateSecuritySettingsRequest.Builder toBuilder()
Returns
TypeDescription
CreateSecuritySettingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException