Package com.google.cloud.aiplatform.v1
Class ListTrialsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
- com.google.cloud.aiplatform.v1.ListTrialsResponse.Builder
-
- All Implemented Interfaces:
ListTrialsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListTrialsResponse
public static final class ListTrialsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder> implements ListTrialsResponseOrBuilder
Response message for [VizierService.ListTrials][google.cloud.aiplatform.v1.VizierService.ListTrials].
Protobuf typegoogle.cloud.aiplatform.v1.ListTrialsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTrialsResponse.Builder
addAllTrials(Iterable<? extends Trial> values)
The Trials associated with the Study.ListTrialsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListTrialsResponse.Builder
addTrials(int index, Trial value)
The Trials associated with the Study.ListTrialsResponse.Builder
addTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.ListTrialsResponse.Builder
addTrials(Trial value)
The Trials associated with the Study.ListTrialsResponse.Builder
addTrials(Trial.Builder builderForValue)
The Trials associated with the Study.Trial.Builder
addTrialsBuilder()
The Trials associated with the Study.Trial.Builder
addTrialsBuilder(int index)
The Trials associated with the Study.ListTrialsResponse
build()
ListTrialsResponse
buildPartial()
ListTrialsResponse.Builder
clear()
ListTrialsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListTrialsResponse.Builder
clearNextPageToken()
Pass this token as the `page_token` field of the request for a subsequent call.ListTrialsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListTrialsResponse.Builder
clearTrials()
The Trials associated with the Study.ListTrialsResponse.Builder
clone()
ListTrialsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
Pass this token as the `page_token` field of the request for a subsequent call.com.google.protobuf.ByteString
getNextPageTokenBytes()
Pass this token as the `page_token` field of the request for a subsequent call.Trial
getTrials(int index)
The Trials associated with the Study.Trial.Builder
getTrialsBuilder(int index)
The Trials associated with the Study.List<Trial.Builder>
getTrialsBuilderList()
The Trials associated with the Study.int
getTrialsCount()
The Trials associated with the Study.List<Trial>
getTrialsList()
The Trials associated with the Study.TrialOrBuilder
getTrialsOrBuilder(int index)
The Trials associated with the Study.List<? extends TrialOrBuilder>
getTrialsOrBuilderList()
The Trials associated with the Study.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListTrialsResponse.Builder
mergeFrom(ListTrialsResponse other)
ListTrialsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListTrialsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListTrialsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListTrialsResponse.Builder
removeTrials(int index)
The Trials associated with the Study.ListTrialsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListTrialsResponse.Builder
setNextPageToken(String value)
Pass this token as the `page_token` field of the request for a subsequent call.ListTrialsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Pass this token as the `page_token` field of the request for a subsequent call.ListTrialsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListTrialsResponse.Builder
setTrials(int index, Trial value)
The Trials associated with the Study.ListTrialsResponse.Builder
setTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.ListTrialsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
clear
public ListTrialsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
getDefaultInstanceForType
public ListTrialsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListTrialsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListTrialsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListTrialsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
setField
public ListTrialsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
clearField
public ListTrialsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
clearOneof
public ListTrialsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
setRepeatedField
public ListTrialsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
addRepeatedField
public ListTrialsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
mergeFrom
public ListTrialsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListTrialsResponse.Builder>
-
mergeFrom
public ListTrialsResponse.Builder mergeFrom(ListTrialsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
mergeFrom
public ListTrialsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListTrialsResponse.Builder>
- Throws:
IOException
-
getTrialsList
public List<Trial> getTrialsList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
- Specified by:
getTrialsList
in interfaceListTrialsResponseOrBuilder
-
getTrialsCount
public int getTrialsCount()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
- Specified by:
getTrialsCount
in interfaceListTrialsResponseOrBuilder
-
getTrials
public Trial getTrials(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
- Specified by:
getTrials
in interfaceListTrialsResponseOrBuilder
-
setTrials
public ListTrialsResponse.Builder setTrials(int index, Trial value)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
setTrials
public ListTrialsResponse.Builder setTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
addTrials
public ListTrialsResponse.Builder addTrials(Trial value)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
addTrials
public ListTrialsResponse.Builder addTrials(int index, Trial value)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
addTrials
public ListTrialsResponse.Builder addTrials(Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
addTrials
public ListTrialsResponse.Builder addTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
addAllTrials
public ListTrialsResponse.Builder addAllTrials(Iterable<? extends Trial> values)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
clearTrials
public ListTrialsResponse.Builder clearTrials()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
removeTrials
public ListTrialsResponse.Builder removeTrials(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
getTrialsBuilder
public Trial.Builder getTrialsBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
getTrialsOrBuilder
public TrialOrBuilder getTrialsOrBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
- Specified by:
getTrialsOrBuilder
in interfaceListTrialsResponseOrBuilder
-
getTrialsOrBuilderList
public List<? extends TrialOrBuilder> getTrialsOrBuilderList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
- Specified by:
getTrialsOrBuilderList
in interfaceListTrialsResponseOrBuilder
-
addTrialsBuilder
public Trial.Builder addTrialsBuilder()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
addTrialsBuilder
public Trial.Builder addTrialsBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
getTrialsBuilderList
public List<Trial.Builder> getTrialsBuilderList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
-
getNextPageToken
public String getNextPageToken()
Pass this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListTrialsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Pass this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListTrialsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListTrialsResponse.Builder setNextPageToken(String value)
Pass this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListTrialsResponse.Builder clearNextPageToken()
Pass this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListTrialsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Pass this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListTrialsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
mergeUnknownFields
public final ListTrialsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTrialsResponse.Builder>
-
-