Class GenieSource.Builder (3.42.0)

public static final class GenieSource.Builder extends GeneratedMessageV3.Builder<GenieSource.Builder> implements GenieSourceOrBuilder

Contains information about the source of the models generated from Generative AI Studio.

Protobuf type google.cloud.aiplatform.v1beta1.GenieSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenieSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenieSource.Builder
Overrides

build()

public GenieSource build()
Returns
Type Description
GenieSource

buildPartial()

public GenieSource buildPartial()
Returns
Type Description
GenieSource

clear()

public GenieSource.Builder clear()
Returns
Type Description
GenieSource.Builder
Overrides

clearBaseModelUri()

public GenieSource.Builder clearBaseModelUri()

Required. The public base model URI.

string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenieSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenieSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenieSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenieSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenieSource.Builder
Overrides

clone()

public GenieSource.Builder clone()
Returns
Type Description
GenieSource.Builder
Overrides

getBaseModelUri()

public String getBaseModelUri()

Required. The public base model URI.

string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The baseModelUri.

getBaseModelUriBytes()

public ByteString getBaseModelUriBytes()

Required. The public base model URI.

string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for baseModelUri.

getDefaultInstanceForType()

public GenieSource getDefaultInstanceForType()
Returns
Type Description
GenieSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenieSource other)

public GenieSource.Builder mergeFrom(GenieSource other)
Parameter
Name Description
other GenieSource
Returns
Type Description
GenieSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenieSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenieSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenieSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenieSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenieSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenieSource.Builder
Overrides

setBaseModelUri(String value)

public GenieSource.Builder setBaseModelUri(String value)

Required. The public base model URI.

string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The baseModelUri to set.

Returns
Type Description
GenieSource.Builder

This builder for chaining.

setBaseModelUriBytes(ByteString value)

public GenieSource.Builder setBaseModelUriBytes(ByteString value)

Required. The public base model URI.

string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for baseModelUri to set.

Returns
Type Description
GenieSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenieSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenieSource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenieSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenieSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenieSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenieSource.Builder
Overrides