public static final class ContentMap.Contents.Builder extends GeneratedMessageV3.Builder<ContentMap.Contents.Builder> implements ContentMap.ContentsOrBuilder
Repeated Content type.
Protobuf type google.cloud.aiplatform.v1beta1.ContentMap.Contents
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllContents(Iterable<? extends Content> values)
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];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.Content>
|
addContents(Content value)
public ContentMap.Contents.Builder addContents(Content value)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Content
|
addContents(Content.Builder builderForValue)
public ContentMap.Contents.Builder addContents(Content.Builder builderForValue)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
addContents(int index, Content value)
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];
Parameters |
Name |
Description |
index |
int
|
value |
Content
|
addContents(int index, Content.Builder builderForValue)
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];
addContentsBuilder()
public Content.Builder addContentsBuilder()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
addContentsBuilder(int index)
public Content.Builder addContentsBuilder(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContentMap.Contents.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ContentMap.Contents build()
buildPartial()
public ContentMap.Contents buildPartial()
clear()
public ContentMap.Contents.Builder clear()
Overrides
clearContents()
public ContentMap.Contents.Builder clearContents()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public ContentMap.Contents.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ContentMap.Contents.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ContentMap.Contents.Builder clone()
Overrides
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
|
getContentsBuilder(int index)
public Content.Builder getContentsBuilder(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getContentsBuilderList()
public List<Content.Builder> getContentsBuilderList()
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ContentMap.Contents other)
public ContentMap.Contents.Builder mergeFrom(ContentMap.Contents other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContentMap.Contents.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ContentMap.Contents.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContentMap.Contents.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeContents(int index)
public ContentMap.Contents.Builder removeContents(int index)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setContents(int index, Content value)
public ContentMap.Contents.Builder setContents(int index, Content value)
Optional. Repeated contents.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters |
Name |
Description |
index |
int
|
value |
Content
|
setContents(int index, Content.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ContentMap.Contents.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContentMap.Contents.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContentMap.Contents.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides