Package com.google.cloud.notebooks.v1
Class ListExecutionsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListExecutionsResponse.Builder>
-
- com.google.cloud.notebooks.v1.ListExecutionsResponse.Builder
-
- All Implemented Interfaces:
ListExecutionsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListExecutionsResponse
public static final class ListExecutionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListExecutionsResponse.Builder> implements ListExecutionsResponseOrBuilder
Response for listing scheduled notebook executions
Protobuf typegoogle.cloud.notebooks.v1.ListExecutionsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListExecutionsResponse.Builder
addAllExecutions(Iterable<? extends Execution> values)
A list of returned instances.ListExecutionsResponse.Builder
addAllUnreachable(Iterable<String> values)
Executions IDs that could not be reached.ListExecutionsResponse.Builder
addExecutions(int index, Execution value)
A list of returned instances.ListExecutionsResponse.Builder
addExecutions(int index, Execution.Builder builderForValue)
A list of returned instances.ListExecutionsResponse.Builder
addExecutions(Execution value)
A list of returned instances.ListExecutionsResponse.Builder
addExecutions(Execution.Builder builderForValue)
A list of returned instances.Execution.Builder
addExecutionsBuilder()
A list of returned instances.Execution.Builder
addExecutionsBuilder(int index)
A list of returned instances.ListExecutionsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListExecutionsResponse.Builder
addUnreachable(String value)
Executions IDs that could not be reached.ListExecutionsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Executions IDs that could not be reached.ListExecutionsResponse
build()
ListExecutionsResponse
buildPartial()
ListExecutionsResponse.Builder
clear()
ListExecutionsResponse.Builder
clearExecutions()
A list of returned instances.ListExecutionsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListExecutionsResponse.Builder
clearNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.ListExecutionsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListExecutionsResponse.Builder
clearUnreachable()
Executions IDs that could not be reached.ListExecutionsResponse.Builder
clone()
ListExecutionsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Execution
getExecutions(int index)
A list of returned instances.Execution.Builder
getExecutionsBuilder(int index)
A list of returned instances.List<Execution.Builder>
getExecutionsBuilderList()
A list of returned instances.int
getExecutionsCount()
A list of returned instances.List<Execution>
getExecutionsList()
A list of returned instances.ExecutionOrBuilder
getExecutionsOrBuilder(int index)
A list of returned instances.List<? extends ExecutionOrBuilder>
getExecutionsOrBuilderList()
A list of returned instances.String
getNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.com.google.protobuf.ByteString
getNextPageTokenBytes()
Page token that can be used to continue listing from the last result in the next list call.String
getUnreachable(int index)
Executions IDs that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Executions IDs that could not be reached.int
getUnreachableCount()
Executions IDs that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Executions IDs that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListExecutionsResponse.Builder
mergeFrom(ListExecutionsResponse other)
ListExecutionsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListExecutionsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListExecutionsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListExecutionsResponse.Builder
removeExecutions(int index)
A list of returned instances.ListExecutionsResponse.Builder
setExecutions(int index, Execution value)
A list of returned instances.ListExecutionsResponse.Builder
setExecutions(int index, Execution.Builder builderForValue)
A list of returned instances.ListExecutionsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListExecutionsResponse.Builder
setNextPageToken(String value)
Page token that can be used to continue listing from the last result in the next list call.ListExecutionsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Page token that can be used to continue listing from the last result in the next list call.ListExecutionsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListExecutionsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListExecutionsResponse.Builder
setUnreachable(int index, String value)
Executions IDs that could not be reached.-
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<ListExecutionsResponse.Builder>
-
clear
public ListExecutionsResponse.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<ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
getDefaultInstanceForType
public ListExecutionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListExecutionsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListExecutionsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
setField
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
clearField
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
clearOneof
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
setRepeatedField
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
addRepeatedField
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
-
mergeFrom
public ListExecutionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListExecutionsResponse.Builder>
-
mergeFrom
public ListExecutionsResponse.Builder mergeFrom(ListExecutionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListExecutionsResponse.Builder>
-
mergeFrom
public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
- Throws:
IOException
-
getExecutionsList
public List<Execution> getExecutionsList()
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
- Specified by:
getExecutionsList
in interfaceListExecutionsResponseOrBuilder
-
getExecutionsCount
public int getExecutionsCount()
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
- Specified by:
getExecutionsCount
in interfaceListExecutionsResponseOrBuilder
-
getExecutions
public Execution getExecutions(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
- Specified by:
getExecutions
in interfaceListExecutionsResponseOrBuilder
-
setExecutions
public ListExecutionsResponse.Builder setExecutions(int index, Execution value)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
setExecutions
public ListExecutionsResponse.Builder setExecutions(int index, Execution.Builder builderForValue)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
addExecutions
public ListExecutionsResponse.Builder addExecutions(Execution value)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
addExecutions
public ListExecutionsResponse.Builder addExecutions(int index, Execution value)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
addExecutions
public ListExecutionsResponse.Builder addExecutions(Execution.Builder builderForValue)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
addExecutions
public ListExecutionsResponse.Builder addExecutions(int index, Execution.Builder builderForValue)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
addAllExecutions
public ListExecutionsResponse.Builder addAllExecutions(Iterable<? extends Execution> values)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
clearExecutions
public ListExecutionsResponse.Builder clearExecutions()
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
removeExecutions
public ListExecutionsResponse.Builder removeExecutions(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
getExecutionsBuilder
public Execution.Builder getExecutionsBuilder(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
getExecutionsOrBuilder
public ExecutionOrBuilder getExecutionsOrBuilder(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
- Specified by:
getExecutionsOrBuilder
in interfaceListExecutionsResponseOrBuilder
-
getExecutionsOrBuilderList
public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
- Specified by:
getExecutionsOrBuilderList
in interfaceListExecutionsResponseOrBuilder
-
addExecutionsBuilder
public Execution.Builder addExecutionsBuilder()
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
addExecutionsBuilder
public Execution.Builder addExecutionsBuilder(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
getExecutionsBuilderList
public List<Execution.Builder> getExecutionsBuilderList()
A list of returned instances.
repeated .google.cloud.notebooks.v1.Execution executions = 1;
-
getNextPageToken
public String getNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListExecutionsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListExecutionsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListExecutionsResponse.Builder setNextPageToken(String value)
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListExecutionsResponse.Builder clearNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListExecutionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Page token that can be used to continue listing from the last result in the next list call.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Specified by:
getUnreachableList
in interfaceListExecutionsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListExecutionsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Specified by:
getUnreachable
in interfaceListExecutionsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Specified by:
getUnreachableBytes
in interfaceListExecutionsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListExecutionsResponse.Builder setUnreachable(int index, String value)
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Parameters:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListExecutionsResponse.Builder addUnreachable(String value)
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListExecutionsResponse.Builder addAllUnreachable(Iterable<String> values)
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListExecutionsResponse.Builder clearUnreachable()
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListExecutionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']
repeated string unreachable = 3;
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListExecutionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListExecutionsResponse.Builder>
-
mergeUnknownFields
public final ListExecutionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListExecutionsResponse.Builder>
-
-