Class ListUnitsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListUnitsResponse.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.ListUnitsResponse.Builder
- All Implemented Interfaces:
ListUnitsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListUnitsResponse
public static final class ListUnitsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListUnitsResponse.Builder>
implements ListUnitsResponseOrBuilder
The response structure for the ListUnits method.Protobuf type
google.cloud.saasplatform.saasservicemgmt.v1beta1.ListUnitsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnits(Iterable<? extends Unit> values) The resulting units.addAllUnreachable(Iterable<String> values) Locations that could not be reached.The resulting units.addUnits(int index, Unit.Builder builderForValue) The resulting units.The resulting units.addUnits(Unit.Builder builderForValue) The resulting units.The resulting units.addUnitsBuilder(int index) The resulting units.addUnreachable(String value) Locations that could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.build()clear()If present, the next page token can be provided to a subsequent ListUnits call to list the next page.The resulting units.Locations that could not be reached.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf present, the next page token can be provided to a subsequent ListUnits call to list the next page.com.google.protobuf.ByteStringIf present, the next page token can be provided to a subsequent ListUnits call to list the next page.getUnits(int index) The resulting units.getUnitsBuilder(int index) The resulting units.The resulting units.intThe resulting units.The resulting units.getUnitsOrBuilder(int index) The resulting units.List<? extends UnitOrBuilder>The resulting units.getUnreachable(int index) Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Locations that could not be reached.intLocations that could not be reached.com.google.protobuf.ProtocolStringListLocations that could not be reached.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListUnitsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeUnits(int index) The resulting units.setNextPageToken(String value) If present, the next page token can be provided to a subsequent ListUnits call to list the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) If present, the next page token can be provided to a subsequent ListUnits call to list the next page.The resulting units.setUnits(int index, Unit.Builder builderForValue) The resulting units.setUnreachable(int index, String value) Locations that could not be reached.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<ListUnitsResponse.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<ListUnitsResponse.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<ListUnitsResponse.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<ListUnitsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListUnitsResponse.Builder>
-
mergeFrom
public ListUnitsResponse.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<ListUnitsResponse.Builder>- Throws:
IOException
-
getUnitsList
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;- Specified by:
getUnitsListin interfaceListUnitsResponseOrBuilder
-
getUnitsCount
public int getUnitsCount()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;- Specified by:
getUnitsCountin interfaceListUnitsResponseOrBuilder
-
getUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;- Specified by:
getUnitsin interfaceListUnitsResponseOrBuilder
-
setUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
setUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
addUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
addUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
addUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
addUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
addAllUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
clearUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
removeUnits
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
getUnitsBuilder
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
getUnitsOrBuilder
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;- Specified by:
getUnitsOrBuilderin interfaceListUnitsResponseOrBuilder
-
getUnitsOrBuilderList
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;- Specified by:
getUnitsOrBuilderListin interfaceListUnitsResponseOrBuilder
-
addUnitsBuilder
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
addUnitsBuilder
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
getUnitsBuilderList
The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509; -
getNextPageToken
If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;- Specified by:
getNextPageTokenin interfaceListUnitsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;- Specified by:
getNextPageTokenBytesin interfaceListUnitsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;- 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.
repeated string unreachable = 10511;- Specified by:
getUnreachableListin interfaceListUnitsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 10511;- Specified by:
getUnreachableCountin interfaceListUnitsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations that could not be reached.
repeated string unreachable = 10511;- Specified by:
getUnreachablein interfaceListUnitsResponseOrBuilder- 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.
repeated string unreachable = 10511;- Specified by:
getUnreachableBytesin interfaceListUnitsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Locations that could not be reached.
repeated string unreachable = 10511;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Locations that could not be reached.
repeated string unreachable = 10511;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations that could not be reached.
repeated string unreachable = 10511;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations that could not be reached.
repeated string unreachable = 10511;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Locations that could not be reached.
repeated string unreachable = 10511;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-