public static final class ContentMap.Contents.Builder extends com.google.protobuf.GeneratedMessage.Builder<ContentMap.Contents.Builder> implements ContentMap.ContentsOrBuilder
Repeated Content type.Protobuf type
google.cloud.aiplatform.v1beta1.ContentMap.ContentsaddRepeatedField, 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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ContentMap.Contents.Builder>public ContentMap.Contents.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ContentMap.Contents.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ContentMap.Contents.Builder>public ContentMap.Contents getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ContentMap.Contents build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ContentMap.Contents buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ContentMap.Contents.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContentMap.Contents.Builder>public ContentMap.Contents.Builder mergeFrom(ContentMap.Contents other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ContentMap.Contents.Builder>public ContentMap.Contents.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContentMap.Contents.Builder>IOExceptionpublic List<Content> getContentsList()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
getContentsList in interface ContentMap.ContentsOrBuilderpublic int getContentsCount()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
getContentsCount in interface ContentMap.ContentsOrBuilderpublic Content getContents(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
getContents in interface ContentMap.ContentsOrBuilderpublic ContentMap.Contents.Builder setContents(int index, Content value)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder setContents(int index, Content.Builder builderForValue)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder addContents(Content value)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder addContents(int index, Content value)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder addContents(Content.Builder builderForValue)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder addContents(int index, Content.Builder builderForValue)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder addAllContents(Iterable<? extends Content> values)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder clearContents()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentMap.Contents.Builder removeContents(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public Content.Builder getContentsBuilder(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public ContentOrBuilder getContentsOrBuilder(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
getContentsOrBuilder in interface ContentMap.ContentsOrBuilderpublic List<? extends ContentOrBuilder> getContentsOrBuilderList()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
getContentsOrBuilderList in interface ContentMap.ContentsOrBuilderpublic Content.Builder addContentsBuilder()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public Content.Builder addContentsBuilder(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
public List<Content.Builder> getContentsBuilderList()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2026 Google LLC. All rights reserved.