Class BatchUpdateGenerativeQuestionConfigsRequest (2.54.0)

public final class BatchUpdateGenerativeQuestionConfigsRequest extends GeneratedMessageV3 implements BatchUpdateGenerativeQuestionConfigsRequestOrBuilder

Request for BatchUpdateGenerativeQuestionConfig method.

Protobuf type google.cloud.retail.v2alpha.BatchUpdateGenerativeQuestionConfigsRequest

Inheritance

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

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchUpdateGenerativeQuestionConfigsRequest getDefaultInstance()
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchUpdateGenerativeQuestionConfigsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchUpdateGenerativeQuestionConfigsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsRequest

getParent()

public String getParent()

Optional. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Optional. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getRequests(int index)

public UpdateGenerativeQuestionConfigRequest getRequests(int index)

Required. The updates question configs.

repeated .google.cloud.retail.v2alpha.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateGenerativeQuestionConfigRequest

getRequestsCount()

public int getRequestsCount()

Required. The updates question configs.

repeated .google.cloud.retail.v2alpha.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<UpdateGenerativeQuestionConfigRequest> getRequestsList()

Required. The updates question configs.

repeated .google.cloud.retail.v2alpha.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UpdateGenerativeQuestionConfigRequest>

getRequestsOrBuilder(int index)

public UpdateGenerativeQuestionConfigRequestOrBuilder getRequestsOrBuilder(int index)

Required. The updates question configs.

repeated .google.cloud.retail.v2alpha.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateGenerativeQuestionConfigRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateGenerativeQuestionConfigRequestOrBuilder> getRequestsOrBuilderList()

Required. The updates question configs.

repeated .google.cloud.retail.v2alpha.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.UpdateGenerativeQuestionConfigRequestOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 BatchUpdateGenerativeQuestionConfigsRequest.Builder newBuilderForType()
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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