public static final class SyntheticField.Builder extends GeneratedMessage.Builder<SyntheticField.Builder> implements SyntheticFieldOrBuilderRepresents a single named field within a SyntheticExample.
Protobuf type google.cloud.aiplatform.v1.SyntheticField
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SyntheticField.BuilderImplements
SyntheticFieldOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SyntheticField build()| Returns | |
|---|---|
| Type | Description |
SyntheticField |
|
buildPartial()
public SyntheticField buildPartial()| Returns | |
|---|---|
| Type | Description |
SyntheticField |
|
clear()
public SyntheticField.Builder clear()| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
clearContent()
public SyntheticField.Builder clearContent()Required. The content of the field.
.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
clearFieldName()
public SyntheticField.Builder clearFieldName()Optional. The name of the field.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
This builder for chaining. |
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. |
getContentBuilder()
public Content.Builder getContentBuilder()Required. The content of the field.
.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeContent(Content value)
public SyntheticField.Builder mergeContent(Content value)Required. The content of the field.
.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
mergeFrom(SyntheticField other)
public SyntheticField.Builder mergeFrom(SyntheticField other)| Parameter | |
|---|---|
| Name | Description |
other |
SyntheticField |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SyntheticField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SyntheticField.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
setContent(Content value)
public SyntheticField.Builder setContent(Content value)Required. The content of the field.
.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
setContent(Content.Builder builderForValue)
public SyntheticField.Builder setContent(Content.Builder builderForValue)Required. The content of the field.
.google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Content.Builder |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
|
setFieldName(String value)
public SyntheticField.Builder setFieldName(String value)Optional. The name of the field.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fieldName to set. |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
This builder for chaining. |
setFieldNameBytes(ByteString value)
public SyntheticField.Builder setFieldNameBytes(ByteString value)Optional. The name of the field.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fieldName to set. |
| Returns | |
|---|---|
| Type | Description |
SyntheticField.Builder |
This builder for chaining. |