Package com.google.cloud.notebooks.v1
Class ListRuntimesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
- com.google.cloud.notebooks.v1.ListRuntimesResponse.Builder
-
- All Implemented Interfaces:
ListRuntimesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListRuntimesResponse
public static final class ListRuntimesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder> implements ListRuntimesResponseOrBuilder
Response for listing Managed Notebook Runtimes.
Protobuf typegoogle.cloud.notebooks.v1.ListRuntimesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRuntimesResponse.BuilderaddAllRuntimes(Iterable<? extends Runtime> values)A list of returned Runtimes.ListRuntimesResponse.BuilderaddAllUnreachable(Iterable<String> values)Locations that could not be reached.ListRuntimesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListRuntimesResponse.BuilderaddRuntimes(int index, Runtime value)A list of returned Runtimes.ListRuntimesResponse.BuilderaddRuntimes(int index, Runtime.Builder builderForValue)A list of returned Runtimes.ListRuntimesResponse.BuilderaddRuntimes(Runtime value)A list of returned Runtimes.ListRuntimesResponse.BuilderaddRuntimes(Runtime.Builder builderForValue)A list of returned Runtimes.Runtime.BuilderaddRuntimesBuilder()A list of returned Runtimes.Runtime.BuilderaddRuntimesBuilder(int index)A list of returned Runtimes.ListRuntimesResponse.BuilderaddUnreachable(String value)Locations that could not be reached.ListRuntimesResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Locations that could not be reached.ListRuntimesResponsebuild()ListRuntimesResponsebuildPartial()ListRuntimesResponse.Builderclear()ListRuntimesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListRuntimesResponse.BuilderclearNextPageToken()Page token that can be used to continue listing from the last result in the next list call.ListRuntimesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListRuntimesResponse.BuilderclearRuntimes()A list of returned Runtimes.ListRuntimesResponse.BuilderclearUnreachable()Locations that could not be reached.ListRuntimesResponse.Builderclone()ListRuntimesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()Page token that can be used to continue listing from the last result in the next list call.com.google.protobuf.ByteStringgetNextPageTokenBytes()Page token that can be used to continue listing from the last result in the next list call.RuntimegetRuntimes(int index)A list of returned Runtimes.Runtime.BuildergetRuntimesBuilder(int index)A list of returned Runtimes.List<Runtime.Builder>getRuntimesBuilderList()A list of returned Runtimes.intgetRuntimesCount()A list of returned Runtimes.List<Runtime>getRuntimesList()A list of returned Runtimes.RuntimeOrBuildergetRuntimesOrBuilder(int index)A list of returned Runtimes.List<? extends RuntimeOrBuilder>getRuntimesOrBuilderList()A list of returned Runtimes.StringgetUnreachable(int index)Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index)Locations that could not be reached.intgetUnreachableCount()Locations that could not be reached.com.google.protobuf.ProtocolStringListgetUnreachableList()Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListRuntimesResponse.BuildermergeFrom(ListRuntimesResponse other)ListRuntimesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListRuntimesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListRuntimesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListRuntimesResponse.BuilderremoveRuntimes(int index)A list of returned Runtimes.ListRuntimesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListRuntimesResponse.BuildersetNextPageToken(String value)Page token that can be used to continue listing from the last result in the next list call.ListRuntimesResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)Page token that can be used to continue listing from the last result in the next list call.ListRuntimesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListRuntimesResponse.BuildersetRuntimes(int index, Runtime value)A list of returned Runtimes.ListRuntimesResponse.BuildersetRuntimes(int index, Runtime.Builder builderForValue)A list of returned Runtimes.ListRuntimesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListRuntimesResponse.BuildersetUnreachable(int index, String value)Locations 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
clear
public ListRuntimesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
getDefaultInstanceForType
public ListRuntimesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListRuntimesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListRuntimesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListRuntimesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
setField
public ListRuntimesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
clearField
public ListRuntimesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
clearOneof
public ListRuntimesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
setRepeatedField
public ListRuntimesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
addRepeatedField
public ListRuntimesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
mergeFrom
public ListRuntimesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListRuntimesResponse.Builder>
-
mergeFrom
public ListRuntimesResponse.Builder mergeFrom(ListRuntimesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
mergeFrom
public ListRuntimesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListRuntimesResponse.Builder>- Throws:
IOException
-
getRuntimesList
public List<Runtime> getRuntimesList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;- Specified by:
getRuntimesListin interfaceListRuntimesResponseOrBuilder
-
getRuntimesCount
public int getRuntimesCount()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;- Specified by:
getRuntimesCountin interfaceListRuntimesResponseOrBuilder
-
getRuntimes
public Runtime getRuntimes(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;- Specified by:
getRuntimesin interfaceListRuntimesResponseOrBuilder
-
setRuntimes
public ListRuntimesResponse.Builder setRuntimes(int index, Runtime value)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
setRuntimes
public ListRuntimesResponse.Builder setRuntimes(int index, Runtime.Builder builderForValue)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
addRuntimes
public ListRuntimesResponse.Builder addRuntimes(Runtime value)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
addRuntimes
public ListRuntimesResponse.Builder addRuntimes(int index, Runtime value)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
addRuntimes
public ListRuntimesResponse.Builder addRuntimes(Runtime.Builder builderForValue)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
addRuntimes
public ListRuntimesResponse.Builder addRuntimes(int index, Runtime.Builder builderForValue)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
addAllRuntimes
public ListRuntimesResponse.Builder addAllRuntimes(Iterable<? extends Runtime> values)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
clearRuntimes
public ListRuntimesResponse.Builder clearRuntimes()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
removeRuntimes
public ListRuntimesResponse.Builder removeRuntimes(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
getRuntimesBuilder
public Runtime.Builder getRuntimesBuilder(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
getRuntimesOrBuilder
public RuntimeOrBuilder getRuntimesOrBuilder(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;- Specified by:
getRuntimesOrBuilderin interfaceListRuntimesResponseOrBuilder
-
getRuntimesOrBuilderList
public List<? extends RuntimeOrBuilder> getRuntimesOrBuilderList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;- Specified by:
getRuntimesOrBuilderListin interfaceListRuntimesResponseOrBuilder
-
addRuntimesBuilder
public Runtime.Builder addRuntimesBuilder()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
addRuntimesBuilder
public Runtime.Builder addRuntimesBuilder(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
-
getRuntimesBuilderList
public List<Runtime.Builder> getRuntimesBuilderList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 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:
getNextPageTokenin interfaceListRuntimesResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceListRuntimesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListRuntimesResponse.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 ListRuntimesResponse.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 ListRuntimesResponse.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()
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListRuntimesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListRuntimesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListRuntimesResponseOrBuilder- 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)
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListRuntimesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListRuntimesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
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 ListRuntimesResponse.Builder addUnreachable(String value)
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListRuntimesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListRuntimesResponse.Builder clearUnreachable()
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListRuntimesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListRuntimesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
mergeUnknownFields
public final ListRuntimesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
-