Class BulkUploadFeedbackLabelsRequest (2.55.0)

public final class BulkUploadFeedbackLabelsRequest extends GeneratedMessageV3 implements BulkUploadFeedbackLabelsRequestOrBuilder

The request for bulk uploading feedback labels.

Protobuf type google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BulkUploadFeedbackLabelsRequest

Static Fields

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BulkUploadFeedbackLabelsRequest getDefaultInstance()
Returns
Type Description
BulkUploadFeedbackLabelsRequest

getDescriptor()

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

newBuilder()

public static BulkUploadFeedbackLabelsRequest.Builder newBuilder()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

newBuilder(BulkUploadFeedbackLabelsRequest prototype)

public static BulkUploadFeedbackLabelsRequest.Builder newBuilder(BulkUploadFeedbackLabelsRequest prototype)
Parameter
Name Description
prototype BulkUploadFeedbackLabelsRequest
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BulkUploadFeedbackLabelsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkUploadFeedbackLabelsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BulkUploadFeedbackLabelsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkUploadFeedbackLabelsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkUploadFeedbackLabelsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkUploadFeedbackLabelsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkUploadFeedbackLabelsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkUploadFeedbackLabelsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BulkUploadFeedbackLabelsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkUploadFeedbackLabelsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BulkUploadFeedbackLabelsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkUploadFeedbackLabelsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkUploadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BulkUploadFeedbackLabelsRequest> parser()
Returns
Type Description
Parser<BulkUploadFeedbackLabelsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BulkUploadFeedbackLabelsRequest getDefaultInstanceForType()
Returns
Type Description
BulkUploadFeedbackLabelsRequest

getGcsSource()

public BulkUploadFeedbackLabelsRequest.GcsSource getGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public BulkUploadFeedbackLabelsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSourceOrBuilder

getParent()

public String getParent()

Required. The parent resource for new feedback labels.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource for new feedback labels.

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<BulkUploadFeedbackLabelsRequest> getParserForType()
Returns
Type Description
Parser<BulkUploadFeedbackLabelsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public BulkUploadFeedbackLabelsRequest.SourceCase getSourceCase()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.SourceCase

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasGcsSource()

public boolean hasGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BulkUploadFeedbackLabelsRequest.Builder newBuilderForType()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkUploadFeedbackLabelsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BulkUploadFeedbackLabelsRequest.Builder toBuilder()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException