Class AIInference.UnstructuredInference.Builder (1.152.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.152.0 (latest)
1.151.0
1.150.1
1.149.0
1.148.0
1.147.0
1.145.0
1.143.1
1.142.0
1.141.5
1.140.2
1.139.4
1.138.0
1.137.1
1.136.1
1.135.0
1.134.2
1.133.1
1.132.2
1.131.0
1.130.0
1.129.6
1.127.3
1.126.6
1.125.13
1.123.18
1.122.2
1.121.1
1.120.24
1.119.1
1.118.0
1.117.0
1.116.4
1.115.5
public static final class AIInference . UnstructuredInference . Builder extends GeneratedMessage . Builder<AIInference . UnstructuredInference . Builder > implements AIInference . UnstructuredInferenceOrBuilder
Configuration for making inferences using arbitrary JSON payloads.
Protobuf type google.pubsub.v1.AIInference.UnstructuredInference
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public AIInference . UnstructuredInference build ()
buildPartial()
public AIInference . UnstructuredInference buildPartial ()
clear()
public AIInference . UnstructuredInference . Builder clear ()
Overrides
clearParameters()
public AIInference . UnstructuredInference . Builder clearParameters ()
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public AIInference . UnstructuredInference getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getParameters()
public Struct getParameters ()
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Struct
The parameters.
getParametersBuilder()
public Struct . Builder getParametersBuilder ()
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilder()
public StructOrBuilder getParametersOrBuilder ()
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
hasParameters()
public boolean hasParameters ()
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the parameters field is set.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public AIInference . UnstructuredInference . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AIInference . UnstructuredInference . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(AIInference.UnstructuredInference other)
public AIInference . UnstructuredInference . Builder mergeFrom ( AIInference . UnstructuredInference other )
mergeParameters(Struct value)
public AIInference . UnstructuredInference . Builder mergeParameters ( Struct value )
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
Struct
setParameters(Struct value)
public AIInference . UnstructuredInference . Builder setParameters ( Struct value )
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
Struct
setParameters(Struct.Builder builderForValue)
public AIInference . UnstructuredInference . Builder setParameters ( Struct . Builder builderForValue )
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub
message to form the inference request.
.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
builderForValue
Builder
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]