public static final class ListInstancesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder
Response for listing notebook instances.Protobuf type
google.cloud.notebooks.v1beta1.ListInstancesResponse| Modifier and Type | Method and Description |
|---|---|
ListInstancesResponse.Builder |
addAllInstances(Iterable<? extends Instance> values)
A list of returned instances.
|
ListInstancesResponse.Builder |
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
|
ListInstancesResponse.Builder |
addInstances(Instance.Builder builderForValue)
A list of returned instances.
|
ListInstancesResponse.Builder |
addInstances(Instance value)
A list of returned instances.
|
ListInstancesResponse.Builder |
addInstances(int index,
Instance.Builder builderForValue)
A list of returned instances.
|
ListInstancesResponse.Builder |
addInstances(int index,
Instance value)
A list of returned instances.
|
Instance.Builder |
addInstancesBuilder()
A list of returned instances.
|
Instance.Builder |
addInstancesBuilder(int index)
A list of returned instances.
|
ListInstancesResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListInstancesResponse.Builder |
addUnreachable(String value)
Locations that could not be reached.
|
ListInstancesResponse.Builder |
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
|
ListInstancesResponse |
build() |
ListInstancesResponse |
buildPartial() |
ListInstancesResponse.Builder |
clear() |
ListInstancesResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListInstancesResponse.Builder |
clearInstances()
A list of returned instances.
|
ListInstancesResponse.Builder |
clearNextPageToken()
Page token that can be used to continue listing from the last result in the
next list call.
|
ListInstancesResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListInstancesResponse.Builder |
clearUnreachable()
Locations that could not be reached.
|
ListInstancesResponse.Builder |
clone() |
ListInstancesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Instance |
getInstances(int index)
A list of returned instances.
|
Instance.Builder |
getInstancesBuilder(int index)
A list of returned instances.
|
List<Instance.Builder> |
getInstancesBuilderList()
A list of returned instances.
|
int |
getInstancesCount()
A list of returned instances.
|
List<Instance> |
getInstancesList()
A list of returned instances.
|
InstanceOrBuilder |
getInstancesOrBuilder(int index)
A list of returned instances.
|
List<? extends InstanceOrBuilder> |
getInstancesOrBuilderList()
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)
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() |
ListInstancesResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListInstancesResponse.Builder |
mergeFrom(ListInstancesResponse other) |
ListInstancesResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListInstancesResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListInstancesResponse.Builder |
removeInstances(int index)
A list of returned instances.
|
ListInstancesResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListInstancesResponse.Builder |
setInstances(int index,
Instance.Builder builderForValue)
A list of returned instances.
|
ListInstancesResponse.Builder |
setInstances(int index,
Instance value)
A list of returned instances.
|
ListInstancesResponse.Builder |
setNextPageToken(String value)
Page token that can be used to continue listing from the last result in the
next list call.
|
ListInstancesResponse.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.
|
ListInstancesResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListInstancesResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListInstancesResponse.Builder |
setUnreachable(int index,
String value)
Locations that could not be reached.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListInstancesResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListInstancesResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListInstancesResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(ListInstancesResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>IOExceptionpublic List<Instance> getInstancesList()
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;getInstancesList in interface ListInstancesResponseOrBuilderpublic int getInstancesCount()
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;getInstancesCount in interface ListInstancesResponseOrBuilderpublic Instance getInstances(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;getInstances in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.Builder setInstances(int index, Instance value)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder setInstances(int index, Instance.Builder builderForValue)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(Instance value)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(int index, Instance value)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(Instance.Builder builderForValue)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(int index, Instance.Builder builderForValue)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder clearInstances()
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public ListInstancesResponse.Builder removeInstances(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public Instance.Builder getInstancesBuilder(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public InstanceOrBuilder getInstancesOrBuilder(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;getInstancesOrBuilder in interface ListInstancesResponseOrBuilderpublic List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;getInstancesOrBuilderList in interface ListInstancesResponseOrBuilderpublic Instance.Builder addInstancesBuilder()
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public Instance.Builder addInstancesBuilder(int index)
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;public List<Instance.Builder> getInstancesBuilderList()
A list of returned instances.
repeated .google.cloud.notebooks.v1beta1.Instance instances = 1;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;getNextPageToken in interface ListInstancesResponseOrBuilderpublic 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;getNextPageTokenBytes in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.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;value - The nextPageToken to set.public ListInstancesResponse.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;public ListInstancesResponse.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;value - The bytes for nextPageToken to set.public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;getUnreachableList in interface ListInstancesResponseOrBuilderpublic int getUnreachableCount()
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;getUnreachableCount in interface ListInstancesResponseOrBuilderpublic String getUnreachable(int index)
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;getUnreachable in interface ListInstancesResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;getUnreachableBytes in interface ListInstancesResponseOrBuilderindex - The index of the value to return.public ListInstancesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;index - The index to set the value at.value - The unreachable to set.public ListInstancesResponse.Builder addUnreachable(String value)
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;value - The unreachable to add.public ListInstancesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;values - The unreachable to add.public ListInstancesResponse.Builder clearUnreachable()
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;public ListInstancesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,
repeated string unreachable = 3;value - The bytes of the unreachable to add.public final ListInstancesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public final ListInstancesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.