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.Builder
addAllRuntimes(Iterable<? extends Runtime> values)
A list of returned Runtimes.ListRuntimesResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListRuntimesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListRuntimesResponse.Builder
addRuntimes(int index, Runtime value)
A list of returned Runtimes.ListRuntimesResponse.Builder
addRuntimes(int index, Runtime.Builder builderForValue)
A list of returned Runtimes.ListRuntimesResponse.Builder
addRuntimes(Runtime value)
A list of returned Runtimes.ListRuntimesResponse.Builder
addRuntimes(Runtime.Builder builderForValue)
A list of returned Runtimes.Runtime.Builder
addRuntimesBuilder()
A list of returned Runtimes.Runtime.Builder
addRuntimesBuilder(int index)
A list of returned Runtimes.ListRuntimesResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListRuntimesResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListRuntimesResponse
build()
ListRuntimesResponse
buildPartial()
ListRuntimesResponse.Builder
clear()
ListRuntimesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListRuntimesResponse.Builder
clearNextPageToken()
Page token that can be used to continue listing from the last result in the next list call.ListRuntimesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListRuntimesResponse.Builder
clearRuntimes()
A list of returned Runtimes.ListRuntimesResponse.Builder
clearUnreachable()
Locations that could not be reached.ListRuntimesResponse.Builder
clone()
ListRuntimesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.Runtime
getRuntimes(int index)
A list of returned Runtimes.Runtime.Builder
getRuntimesBuilder(int index)
A list of returned Runtimes.List<Runtime.Builder>
getRuntimesBuilderList()
A list of returned Runtimes.int
getRuntimesCount()
A list of returned Runtimes.List<Runtime>
getRuntimesList()
A list of returned Runtimes.RuntimeOrBuilder
getRuntimesOrBuilder(int index)
A list of returned Runtimes.List<? extends RuntimeOrBuilder>
getRuntimesOrBuilderList()
A list of returned Runtimes.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListRuntimesResponse.Builder
mergeFrom(ListRuntimesResponse other)
ListRuntimesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListRuntimesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListRuntimesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListRuntimesResponse.Builder
removeRuntimes(int index)
A list of returned Runtimes.ListRuntimesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListRuntimesResponse.Builder
setNextPageToken(String value)
Page token that can be used to continue listing from the last result in the next list call.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.ListRuntimesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListRuntimesResponse.Builder
setRuntimes(int index, Runtime value)
A list of returned Runtimes.ListRuntimesResponse.Builder
setRuntimes(int index, Runtime.Builder builderForValue)
A list of returned Runtimes.ListRuntimesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListRuntimesResponse.Builder
setUnreachable(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
clear
public ListRuntimesResponse.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<ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
getDefaultInstanceForType
public ListRuntimesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListRuntimesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListRuntimesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
setField
public ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
clearField
public ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
clearOneof
public ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
setRepeatedField
public ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
addRepeatedField
public ListRuntimesResponse.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<ListRuntimesResponse.Builder>
-
mergeFrom
public ListRuntimesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListRuntimesResponse.Builder>
-
mergeFrom
public ListRuntimesResponse.Builder mergeFrom(ListRuntimesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getRuntimesList
in interfaceListRuntimesResponseOrBuilder
-
getRuntimesCount
public int getRuntimesCount()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
- Specified by:
getRuntimesCount
in interfaceListRuntimesResponseOrBuilder
-
getRuntimes
public Runtime getRuntimes(int index)
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
- Specified by:
getRuntimes
in 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:
getRuntimesOrBuilder
in interfaceListRuntimesResponseOrBuilder
-
getRuntimesOrBuilderList
public List<? extends RuntimeOrBuilder> getRuntimesOrBuilderList()
A list of returned Runtimes.
repeated .google.cloud.notebooks.v1.Runtime runtimes = 1;
- Specified by:
getRuntimesOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
getUnreachableList
in 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:
getUnreachableCount
in 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:
getUnreachable
in 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:
getUnreachableBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
mergeUnknownFields
public final ListRuntimesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListRuntimesResponse.Builder>
-
-