- 3.48.0 (latest)
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class MetadataSchema.Builder extends GeneratedMessageV3.Builder<MetadataSchema.Builder> implements MetadataSchemaOrBuilder
Instance of a general MetadataSchema.
Protobuf type google.cloud.aiplatform.v1.MetadataSchema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MetadataSchema.BuilderImplements
MetadataSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MetadataSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
build()
public MetadataSchema build()
Returns | |
---|---|
Type | Description |
MetadataSchema |
buildPartial()
public MetadataSchema buildPartial()
Returns | |
---|---|
Type | Description |
MetadataSchema |
clear()
public MetadataSchema.Builder clear()
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
clearCreateTime()
public MetadataSchema.Builder clearCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
clearDescription()
public MetadataSchema.Builder clearDescription()
Description of the Metadata Schema
string description = 6;
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MetadataSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
clearName()
public MetadataSchema.Builder clearName()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MetadataSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
clearSchema()
public MetadataSchema.Builder clearSchema()
Required. The raw YAML string representation of the MetadataSchema. The
combination of [MetadataSchema.version] and the schema name given by
title
in [MetadataSchema.schema] must be unique within a MetadataStore.
The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object
string schema = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
clearSchemaType()
public MetadataSchema.Builder clearSchemaType()
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
clearSchemaVersion()
public MetadataSchema.Builder clearSchemaVersion()
The version of the MetadataSchema. The version's format must match
the following regular expression: ^[0-9]+.+.+$
, which would
allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
clone()
public MetadataSchema.Builder clone()
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public MetadataSchema getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MetadataSchema |
getDescription()
public String getDescription()
Description of the Metadata Schema
string description = 6;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the Metadata Schema
string description = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getSchema()
public String getSchema()
Required. The raw YAML string representation of the MetadataSchema. The
combination of [MetadataSchema.version] and the schema name given by
title
in [MetadataSchema.schema] must be unique within a MetadataStore.
The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object
string schema = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The schema. |
getSchemaBytes()
public ByteString getSchemaBytes()
Required. The raw YAML string representation of the MetadataSchema. The
combination of [MetadataSchema.version] and the schema name given by
title
in [MetadataSchema.schema] must be unique within a MetadataStore.
The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object
string schema = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for schema. |
getSchemaType()
public MetadataSchema.MetadataSchemaType getSchemaType()
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Returns | |
---|---|
Type | Description |
MetadataSchema.MetadataSchemaType | The schemaType. |
getSchemaTypeValue()
public int getSchemaTypeValue()
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for schemaType. |
getSchemaVersion()
public String getSchemaVersion()
The version of the MetadataSchema. The version's format must match
the following regular expression: ^[0-9]+.+.+$
, which would
allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;
Returns | |
---|---|
Type | Description |
String | The schemaVersion. |
getSchemaVersionBytes()
public ByteString getSchemaVersionBytes()
The version of the MetadataSchema. The version's format must match
the following regular expression: ^[0-9]+.+.+$
, which would
allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for schemaVersion. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public MetadataSchema.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
mergeFrom(MetadataSchema other)
public MetadataSchema.Builder mergeFrom(MetadataSchema other)
Parameter | |
---|---|
Name | Description |
other | MetadataSchema |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetadataSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MetadataSchema.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MetadataSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
setCreateTime(Timestamp value)
public MetadataSchema.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MetadataSchema.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
setDescription(String value)
public MetadataSchema.Builder setDescription(String value)
Description of the Metadata Schema
string description = 6;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public MetadataSchema.Builder setDescriptionBytes(ByteString value)
Description of the Metadata Schema
string description = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MetadataSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
setName(String value)
public MetadataSchema.Builder setName(String value)
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public MetadataSchema.Builder setNameBytes(ByteString value)
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MetadataSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |
setSchema(String value)
public MetadataSchema.Builder setSchema(String value)
Required. The raw YAML string representation of the MetadataSchema. The
combination of [MetadataSchema.version] and the schema name given by
title
in [MetadataSchema.schema] must be unique within a MetadataStore.
The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object
string schema = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The schema to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setSchemaBytes(ByteString value)
public MetadataSchema.Builder setSchemaBytes(ByteString value)
Required. The raw YAML string representation of the MetadataSchema. The
combination of [MetadataSchema.version] and the schema name given by
title
in [MetadataSchema.schema] must be unique within a MetadataStore.
The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object
string schema = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for schema to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setSchemaType(MetadataSchema.MetadataSchemaType value)
public MetadataSchema.Builder setSchemaType(MetadataSchema.MetadataSchemaType value)
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Parameter | |
---|---|
Name | Description |
value | MetadataSchema.MetadataSchemaType The schemaType to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setSchemaTypeValue(int value)
public MetadataSchema.Builder setSchemaTypeValue(int value)
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for schemaType to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setSchemaVersion(String value)
public MetadataSchema.Builder setSchemaVersion(String value)
The version of the MetadataSchema. The version's format must match
the following regular expression: ^[0-9]+.+.+$
, which would
allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;
Parameter | |
---|---|
Name | Description |
value | String The schemaVersion to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setSchemaVersionBytes(ByteString value)
public MetadataSchema.Builder setSchemaVersionBytes(ByteString value)
The version of the MetadataSchema. The version's format must match
the following regular expression: ^[0-9]+.+.+$
, which would
allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for schemaVersion to set. |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MetadataSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataSchema.Builder |