public final class BatchUpdateGenerativeQuestionConfigsRequest extends GeneratedMessageV3 implements BatchUpdateGenerativeQuestionConfigsRequestOrBuilder
Request for BatchUpdateGenerativeQuestionConfig method.
Protobuf type google.cloud.retail.v2alpha.BatchUpdateGenerativeQuestionConfigsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchUpdateGenerativeQuestionConfigsRequest.Builder newBuilder()
newBuilder(BatchUpdateGenerativeQuestionConfigsRequest prototype)
public static BatchUpdateGenerativeQuestionConfigsRequest.Builder newBuilder(BatchUpdateGenerativeQuestionConfigsRequest prototype)
public static BatchUpdateGenerativeQuestionConfigsRequest parseDelimitedFrom(InputStream input)
public static BatchUpdateGenerativeQuestionConfigsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(CodedInputStream input)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(InputStream input)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchUpdateGenerativeQuestionConfigsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchUpdateGenerativeQuestionConfigsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BatchUpdateGenerativeQuestionConfigsRequest getDefaultInstanceForType()
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()
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
|
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];
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
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchUpdateGenerativeQuestionConfigsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides