public static final class ContentMap.Contents extends GeneratedMessage implements ContentMap.ContentsOrBuilderRepeated Content type.
Protobuf type google.cloud.aiplatform.v1beta1.ContentMap.Contents
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ContentMap.ContentsImplements
ContentMap.ContentsOrBuilderStatic Fields
CONTENTS_FIELD_NUMBER
public static final int CONTENTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ContentMap.Contents getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ContentMap.Contents.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents.Builder |
|
newBuilder(ContentMap.Contents prototype)
public static ContentMap.Contents.Builder newBuilder(ContentMap.Contents prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ContentMap.Contents |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents.Builder |
|
parseDelimitedFrom(InputStream input)
public static ContentMap.Contents parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentMap.Contents parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ContentMap.Contents parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContentMap.Contents parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ContentMap.Contents parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContentMap.Contents parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ContentMap.Contents parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentMap.Contents parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ContentMap.Contents parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentMap.Contents parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ContentMap.Contents parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContentMap.Contents parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ContentMap.Contents> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Contents> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContents(int index)
public Content getContents(int index)Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Content |
|
getContentsCount()
public int getContentsCount()Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getContentsList()
public List<Content> getContentsList()Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Content> |
|
getContentsOrBuilder(int index)
public ContentOrBuilder getContentsOrBuilder(int index)Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContentOrBuilder |
|
getContentsOrBuilderList()
public List<? extends ContentOrBuilder> getContentsOrBuilderList()Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder> |
|
getDefaultInstanceForType()
public ContentMap.Contents getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents |
|
getParserForType()
public Parser<ContentMap.Contents> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Contents> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ContentMap.Contents.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ContentMap.Contents.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents.Builder |
|
toBuilder()
public ContentMap.Contents.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ContentMap.Contents.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|