Class MetadataValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder>
com.google.cloud.aiplatform.v1beta1.MetadataValue.Builder
- All Implemented Interfaces:
MetadataValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MetadataValue
public static final class MetadataValue.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder>
implements MetadataValueOrBuilder
Value of Metadata, including all types available in data schema.Protobuf type
google.cloud.aiplatform.v1beta1.MetadataValue-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Value of boolean type metadata.Value of date time type metadata.Value of float type metadata.Value of int type metadata.Value of list type metadata.Value of string type metadata.booleanValue of boolean type metadata.Value of date time type metadata.com.google.protobuf.ByteStringValue of date time type metadata.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatValue of float type metadata.longValue of int type metadata.Value of list type metadata.Value of list type metadata.Value of list type metadata.Value of string type metadata.com.google.protobuf.ByteStringValue of string type metadata.booleanValue of boolean type metadata.booleanValue of date time type metadata.booleanValue of float type metadata.booleanValue of int type metadata.booleanValue of list type metadata.booleanValue of string type metadata.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(MetadataValue other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeListValue(MetadataList value) Value of list type metadata.setBoolValue(boolean value) Value of boolean type metadata.setDatetimeValue(String value) Value of date time type metadata.setDatetimeValueBytes(com.google.protobuf.ByteString value) Value of date time type metadata.setFloatValue(float value) Value of float type metadata.setIntValue(long value) Value of int type metadata.setListValue(MetadataList value) Value of list type metadata.setListValue(MetadataList.Builder builderForValue) Value of list type metadata.setStrValue(String value) Value of string type metadata.setStrValueBytes(com.google.protobuf.ByteString value) Value of string type metadata.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetadataValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder>
-
mergeFrom
public MetadataValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetadataValue.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceMetadataValueOrBuilder
-
clearValue
-
hasIntValue
public boolean hasIntValue()Value of int type metadata.
int64 int_value = 1;- Specified by:
hasIntValuein interfaceMetadataValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public long getIntValue()Value of int type metadata.
int64 int_value = 1;- Specified by:
getIntValuein interfaceMetadataValueOrBuilder- Returns:
- The intValue.
-
setIntValue
Value of int type metadata.
int64 int_value = 1;- Parameters:
value- The intValue to set.- Returns:
- This builder for chaining.
-
clearIntValue
Value of int type metadata.
int64 int_value = 1;- Returns:
- This builder for chaining.
-
hasFloatValue
public boolean hasFloatValue()Value of float type metadata.
float float_value = 2;- Specified by:
hasFloatValuein interfaceMetadataValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()Value of float type metadata.
float float_value = 2;- Specified by:
getFloatValuein interfaceMetadataValueOrBuilder- Returns:
- The floatValue.
-
setFloatValue
Value of float type metadata.
float float_value = 2;- Parameters:
value- The floatValue to set.- Returns:
- This builder for chaining.
-
clearFloatValue
Value of float type metadata.
float float_value = 2;- Returns:
- This builder for chaining.
-
hasStrValue
public boolean hasStrValue()Value of string type metadata.
string str_value = 3;- Specified by:
hasStrValuein interfaceMetadataValueOrBuilder- Returns:
- Whether the strValue field is set.
-
getStrValue
Value of string type metadata.
string str_value = 3;- Specified by:
getStrValuein interfaceMetadataValueOrBuilder- Returns:
- The strValue.
-
getStrValueBytes
public com.google.protobuf.ByteString getStrValueBytes()Value of string type metadata.
string str_value = 3;- Specified by:
getStrValueBytesin interfaceMetadataValueOrBuilder- Returns:
- The bytes for strValue.
-
setStrValue
Value of string type metadata.
string str_value = 3;- Parameters:
value- The strValue to set.- Returns:
- This builder for chaining.
-
clearStrValue
Value of string type metadata.
string str_value = 3;- Returns:
- This builder for chaining.
-
setStrValueBytes
Value of string type metadata.
string str_value = 3;- Parameters:
value- The bytes for strValue to set.- Returns:
- This builder for chaining.
-
hasDatetimeValue
public boolean hasDatetimeValue()Value of date time type metadata.
string datetime_value = 4;- Specified by:
hasDatetimeValuein interfaceMetadataValueOrBuilder- Returns:
- Whether the datetimeValue field is set.
-
getDatetimeValue
Value of date time type metadata.
string datetime_value = 4;- Specified by:
getDatetimeValuein interfaceMetadataValueOrBuilder- Returns:
- The datetimeValue.
-
getDatetimeValueBytes
public com.google.protobuf.ByteString getDatetimeValueBytes()Value of date time type metadata.
string datetime_value = 4;- Specified by:
getDatetimeValueBytesin interfaceMetadataValueOrBuilder- Returns:
- The bytes for datetimeValue.
-
setDatetimeValue
Value of date time type metadata.
string datetime_value = 4;- Parameters:
value- The datetimeValue to set.- Returns:
- This builder for chaining.
-
clearDatetimeValue
Value of date time type metadata.
string datetime_value = 4;- Returns:
- This builder for chaining.
-
setDatetimeValueBytes
Value of date time type metadata.
string datetime_value = 4;- Parameters:
value- The bytes for datetimeValue to set.- Returns:
- This builder for chaining.
-
hasBoolValue
public boolean hasBoolValue()Value of boolean type metadata.
bool bool_value = 5;- Specified by:
hasBoolValuein interfaceMetadataValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Value of boolean type metadata.
bool bool_value = 5;- Specified by:
getBoolValuein interfaceMetadataValueOrBuilder- Returns:
- The boolValue.
-
setBoolValue
Value of boolean type metadata.
bool bool_value = 5;- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
Value of boolean type metadata.
bool bool_value = 5;- Returns:
- This builder for chaining.
-
hasListValue
public boolean hasListValue()Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;- Specified by:
hasListValuein interfaceMetadataValueOrBuilder- Returns:
- Whether the listValue field is set.
-
getListValue
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;- Specified by:
getListValuein interfaceMetadataValueOrBuilder- Returns:
- The listValue.
-
setListValue
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6; -
setListValue
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6; -
mergeListValue
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6; -
clearListValue
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6; -
getListValueBuilder
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6; -
getListValueOrBuilder
Value of list type metadata.
.google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;- Specified by:
getListValueOrBuilderin interfaceMetadataValueOrBuilder
-