public static final class GenerateProductTextSuggestionsResponse.Builder extends GeneratedMessageV3.Builder<GenerateProductTextSuggestionsResponse.Builder> implements GenerateProductTextSuggestionsResponseOrBuilder
Response message for the GenerateProductTextSuggestions method.
Protobuf type
google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateProductTextSuggestionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateProductTextSuggestionsResponse build()
buildPartial()
public GenerateProductTextSuggestionsResponse buildPartial()
clear()
public GenerateProductTextSuggestionsResponse.Builder clear()
Overrides
clearAttributes()
public GenerateProductTextSuggestionsResponse.Builder clearAttributes()
clearDescription()
public GenerateProductTextSuggestionsResponse.Builder clearDescription()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
clearField(Descriptors.FieldDescriptor field)
public GenerateProductTextSuggestionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetadata()
public GenerateProductTextSuggestionsResponse.Builder clearMetadata()
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateProductTextSuggestionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTitle()
public GenerateProductTextSuggestionsResponse.Builder clearTitle()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
clone()
public GenerateProductTextSuggestionsResponse.Builder clone()
Overrides
containsAttributes(String key)
public boolean containsAttributes(String key)
Any other generated attributes.
map<string, string> attributes = 3;
Parameter |
Name |
Description |
key |
String
|
getAttributes() (deprecated)
public Map<String,String> getAttributes()
getAttributesCount()
public int getAttributesCount()
Any other generated attributes.
map<string, string> attributes = 3;
Returns |
Type |
Description |
int |
|
getAttributesMap()
public Map<String,String> getAttributesMap()
Any other generated attributes.
map<string, string> attributes = 3;
getAttributesOrDefault(String key, String defaultValue)
public String getAttributesOrDefault(String key, String defaultValue)
Any other generated attributes.
map<string, string> attributes = 3;
Returns |
Type |
Description |
String |
|
getAttributesOrThrow(String key)
public String getAttributesOrThrow(String key)
Any other generated attributes.
map<string, string> attributes = 3;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getDefaultInstanceForType()
public GenerateProductTextSuggestionsResponse getDefaultInstanceForType()
getDescription()
public ProductTextGenerationSuggestion getDescription()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
getDescriptionBuilder()
public ProductTextGenerationSuggestion.Builder getDescriptionBuilder()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
getDescriptionOrBuilder()
public ProductTextGenerationSuggestionOrBuilder getDescriptionOrBuilder()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMetadata()
public ProductTextGenerationMetadata getMetadata()
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
getMetadataBuilder()
public ProductTextGenerationMetadata.Builder getMetadataBuilder()
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
getMetadataOrBuilder()
public ProductTextGenerationMetadataOrBuilder getMetadataOrBuilder()
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
getMutableAttributes() (deprecated)
public Map<String,String> getMutableAttributes()
Use alternate mutation accessors instead.
getTitle()
public ProductTextGenerationSuggestion getTitle()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
getTitleBuilder()
public ProductTextGenerationSuggestion.Builder getTitleBuilder()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
getTitleOrBuilder()
public ProductTextGenerationSuggestionOrBuilder getTitleOrBuilder()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
hasDescription()
public boolean hasDescription()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
Returns |
Type |
Description |
boolean |
Whether the description field is set.
|
hasMetadata()
public boolean hasMetadata()
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hasTitle()
public boolean hasTitle()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
Returns |
Type |
Description |
boolean |
Whether the title field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeDescription(ProductTextGenerationSuggestion value)
public GenerateProductTextSuggestionsResponse.Builder mergeDescription(ProductTextGenerationSuggestion value)
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateProductTextSuggestionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateProductTextSuggestionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(GenerateProductTextSuggestionsResponse other)
public GenerateProductTextSuggestionsResponse.Builder mergeFrom(GenerateProductTextSuggestionsResponse other)
mergeMetadata(ProductTextGenerationMetadata value)
public GenerateProductTextSuggestionsResponse.Builder mergeMetadata(ProductTextGenerationMetadata value)
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
mergeTitle(ProductTextGenerationSuggestion value)
public GenerateProductTextSuggestionsResponse.Builder mergeTitle(ProductTextGenerationSuggestion value)
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateProductTextSuggestionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllAttributes(Map<String,String> values)
public GenerateProductTextSuggestionsResponse.Builder putAllAttributes(Map<String,String> values)
Any other generated attributes.
map<string, string> attributes = 3;
putAttributes(String key, String value)
public GenerateProductTextSuggestionsResponse.Builder putAttributes(String key, String value)
Any other generated attributes.
map<string, string> attributes = 3;
removeAttributes(String key)
public GenerateProductTextSuggestionsResponse.Builder removeAttributes(String key)
Any other generated attributes.
map<string, string> attributes = 3;
Parameter |
Name |
Description |
key |
String
|
setDescription(ProductTextGenerationSuggestion value)
public GenerateProductTextSuggestionsResponse.Builder setDescription(ProductTextGenerationSuggestion value)
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
setDescription(ProductTextGenerationSuggestion.Builder builderForValue)
public GenerateProductTextSuggestionsResponse.Builder setDescription(ProductTextGenerationSuggestion.Builder builderForValue)
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateProductTextSuggestionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMetadata(ProductTextGenerationMetadata value)
public GenerateProductTextSuggestionsResponse.Builder setMetadata(ProductTextGenerationMetadata value)
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
setMetadata(ProductTextGenerationMetadata.Builder builderForValue)
public GenerateProductTextSuggestionsResponse.Builder setMetadata(ProductTextGenerationMetadata.Builder builderForValue)
Additional info that clients may want to audit surrounding the generation.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateProductTextSuggestionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTitle(ProductTextGenerationSuggestion value)
public GenerateProductTextSuggestionsResponse.Builder setTitle(ProductTextGenerationSuggestion value)
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
setTitle(ProductTextGenerationSuggestion.Builder builderForValue)
public GenerateProductTextSuggestionsResponse.Builder setTitle(ProductTextGenerationSuggestion.Builder builderForValue)
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateProductTextSuggestionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides