public static final class TuneEngineMetadata.Builder extends GeneratedMessageV3.Builder<TuneEngineMetadata.Builder> implements TuneEngineMetadataOrBuilder
Metadata associated with a tune operation.
Protobuf type google.cloud.discoveryengine.v1alpha.TuneEngineMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public TuneEngineMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TuneEngineMetadata build()
public TuneEngineMetadata buildPartial()
public TuneEngineMetadata.Builder clear()
Overrides
public TuneEngineMetadata.Builder clearEngine()
Required. The resource name of the engine that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}
string engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public TuneEngineMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TuneEngineMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TuneEngineMetadata.Builder clone()
Overrides
public TuneEngineMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getEngine()
Required. The resource name of the engine that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}
string engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The engine.
|
public ByteString getEngineBytes()
Required. The resource name of the engine that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}
string engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for engine.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TuneEngineMetadata.Builder mergeFrom(TuneEngineMetadata other)
public TuneEngineMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TuneEngineMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final TuneEngineMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TuneEngineMetadata.Builder setEngine(String value)
Required. The resource name of the engine that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}
string engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The engine to set.
|
public TuneEngineMetadata.Builder setEngineBytes(ByteString value)
Required. The resource name of the engine that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}
string engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for engine to set.
|
public TuneEngineMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TuneEngineMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TuneEngineMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides