Package namespace.cloud.compute.v1beta
Class Compute.ListInstancesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ListInstancesResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesResponse.Builder>
namespace.cloud.compute.v1beta.Compute.ListInstancesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.ListInstancesResponseOrBuilder
- Enclosing class:
Compute.ListInstancesResponse
public static final class Compute.ListInstancesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesResponse.Builder>
implements Compute.ListInstancesResponseOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.ListInstancesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstances(Iterable<? extends Compute.InstanceMetadata> values) The list of instances that match the filter.addInstances(int index, Compute.InstanceMetadata value) The list of instances that match the filter.addInstances(int index, Compute.InstanceMetadata.Builder builderForValue) The list of instances that match the filter.The list of instances that match the filter.addInstances(Compute.InstanceMetadata.Builder builderForValue) The list of instances that match the filter.The list of instances that match the filter.addInstancesBuilder(int index) The list of instances that match the filter.build()clear()The list of instances that match the filter.If set, there are additional results.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstances(int index) The list of instances that match the filter.getInstancesBuilder(int index) The list of instances that match the filter.The list of instances that match the filter.intThe list of instances that match the filter.The list of instances that match the filter.getInstancesOrBuilder(int index) The list of instances that match the filter.List<? extends Compute.InstanceMetadataOrBuilder> The list of instances that match the filter.com.google.protobuf.ByteStringIf set, there are additional results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInstances(int index) The list of instances that match the filter.setInstances(int index, Compute.InstanceMetadata value) The list of instances that match the filter.setInstances(int index, Compute.InstanceMetadata.Builder builderForValue) The list of instances that match the filter.setPaginationCursor(com.google.protobuf.ByteString value) If set, there are additional results.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesResponse.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.GeneratedMessage.Builder<Compute.ListInstancesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ListInstancesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstancesResponse.Builder>
-
mergeFrom
public Compute.ListInstancesResponse.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<Compute.ListInstancesResponse.Builder>- Throws:
IOException
-
getInstancesList
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1;- Specified by:
getInstancesListin interfaceCompute.ListInstancesResponseOrBuilder
-
getInstancesCount
public int getInstancesCount()The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1;- Specified by:
getInstancesCountin interfaceCompute.ListInstancesResponseOrBuilder
-
getInstances
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1;- Specified by:
getInstancesin interfaceCompute.ListInstancesResponseOrBuilder
-
setInstances
public Compute.ListInstancesResponse.Builder setInstances(int index, Compute.InstanceMetadata value) The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
setInstances
public Compute.ListInstancesResponse.Builder setInstances(int index, Compute.InstanceMetadata.Builder builderForValue) The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
addInstances
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
addInstances
public Compute.ListInstancesResponse.Builder addInstances(int index, Compute.InstanceMetadata value) The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
addInstances
public Compute.ListInstancesResponse.Builder addInstances(Compute.InstanceMetadata.Builder builderForValue) The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
addInstances
public Compute.ListInstancesResponse.Builder addInstances(int index, Compute.InstanceMetadata.Builder builderForValue) The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
addAllInstances
public Compute.ListInstancesResponse.Builder addAllInstances(Iterable<? extends Compute.InstanceMetadata> values) The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
clearInstances
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
removeInstances
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
getInstancesBuilder
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
getInstancesOrBuilder
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1;- Specified by:
getInstancesOrBuilderin interfaceCompute.ListInstancesResponseOrBuilder
-
getInstancesOrBuilderList
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1;- Specified by:
getInstancesOrBuilderListin interfaceCompute.ListInstancesResponseOrBuilder
-
addInstancesBuilder
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
addInstancesBuilder
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
getInstancesBuilderList
The list of instances that match the filter.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata instances = 1; -
getPaginationCursor
public com.google.protobuf.ByteString getPaginationCursor()If set, there are additional results. Pass the same cursor to a subsequent ListInstances call to continue fetching results.
bytes pagination_cursor = 2;- Specified by:
getPaginationCursorin interfaceCompute.ListInstancesResponseOrBuilder- Returns:
- The paginationCursor.
-
setPaginationCursor
public Compute.ListInstancesResponse.Builder setPaginationCursor(com.google.protobuf.ByteString value) If set, there are additional results. Pass the same cursor to a subsequent ListInstances call to continue fetching results.
bytes pagination_cursor = 2;- Parameters:
value- The paginationCursor to set.- Returns:
- This builder for chaining.
-
clearPaginationCursor
If set, there are additional results. Pass the same cursor to a subsequent ListInstances call to continue fetching results.
bytes pagination_cursor = 2;- Returns:
- This builder for chaining.
-