Class SyntheticField (3.74.0)

public final class SyntheticField extends GeneratedMessageV3 implements SyntheticFieldOrBuilder

Represents a single named field within a SyntheticExample.

Protobuf type google.cloud.aiplatform.v1.SyntheticField

Static Fields

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
Type Description
int

FIELD_NAME_FIELD_NUMBER

public static final int FIELD_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SyntheticField getDefaultInstance()
Returns
Type Description
SyntheticField

getDescriptor()

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

newBuilder()

public static SyntheticField.Builder newBuilder()
Returns
Type Description
SyntheticField.Builder

newBuilder(SyntheticField prototype)

public static SyntheticField.Builder newBuilder(SyntheticField prototype)
Parameter
Name Description
prototype SyntheticField
Returns
Type Description
SyntheticField.Builder

parseDelimitedFrom(InputStream input)

public static SyntheticField parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SyntheticField
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SyntheticField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SyntheticField
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SyntheticField parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SyntheticField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SyntheticField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SyntheticField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SyntheticField parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SyntheticField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SyntheticField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SyntheticField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SyntheticField parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SyntheticField
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SyntheticField parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SyntheticField
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SyntheticField parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SyntheticField
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SyntheticField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SyntheticField
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SyntheticField parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SyntheticField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SyntheticField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SyntheticField
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SyntheticField> parser()
Returns
Type Description
Parser<SyntheticField>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContent()

public Content getContent()

Required. The content of the field.

.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Content

The content.

getContentOrBuilder()

public ContentOrBuilder getContentOrBuilder()

Required. The content of the field.

.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContentOrBuilder

getDefaultInstanceForType()

public SyntheticField getDefaultInstanceForType()
Returns
Type Description
SyntheticField

getFieldName()

public String getFieldName()

Optional. The name of the field.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Optional. The name of the field.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fieldName.

getParserForType()

public Parser<SyntheticField> getParserForType()
Returns
Type Description
Parser<SyntheticField>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasContent()

public boolean hasContent()

Required. The content of the field.

.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the content field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SyntheticField.Builder newBuilderForType()
Returns
Type Description
SyntheticField.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SyntheticField.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SyntheticField.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SyntheticField.Builder toBuilder()
Returns
Type Description
SyntheticField.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException