Class GenieSource.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenieSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenieSource.Builder
Overrides

build()

public GenieSource build()
Returns
TypeDescription
GenieSource

buildPartial()

public GenieSource buildPartial()
Returns
TypeDescription
GenieSource

clear()

public GenieSource.Builder clear()
Returns
TypeDescription
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
TypeDescription
GenieSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenieSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenieSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenieSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenieSource.Builder
Overrides

clone()

public GenieSource.Builder clone()
Returns
TypeDescription
GenieSource.Builder
Overrides

getBaseModelUri()

public String getBaseModelUri()

Required. The public base model URI.

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

Returns
TypeDescription
String

The baseModelUri.

getBaseModelUriBytes()

public ByteString getBaseModelUriBytes()

Required. The public base model URI.

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

Returns
TypeDescription
ByteString

The bytes for baseModelUri.

getDefaultInstanceForType()

public GenieSource getDefaultInstanceForType()
Returns
TypeDescription
GenieSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenieSource other)

public GenieSource.Builder mergeFrom(GenieSource other)
Parameter
NameDescription
otherGenieSource
Returns
TypeDescription
GenieSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenieSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenieSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenieSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenieSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenieSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The baseModelUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for baseModelUri to set.

Returns
TypeDescription
GenieSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenieSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenieSource.Builder
Overrides

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

public GenieSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenieSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenieSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenieSource.Builder
Overrides