Class ListDatasetConfigsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDatasetConfigsResponse.Builder>
com.google.cloud.storageinsights.v1.ListDatasetConfigsResponse.Builder
- All Implemented Interfaces:
ListDatasetConfigsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListDatasetConfigsResponse
public static final class ListDatasetConfigsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListDatasetConfigsResponse.Builder>
implements ListDatasetConfigsResponseOrBuilder
Response message for [`ListDatasetConfigs`][google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs]Protobuf type
google.cloud.storageinsights.v1.ListDatasetConfigsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDatasetConfigs(Iterable<? extends DatasetConfig> values) The list of `DatasetConfigs`addAllUnreachable(Iterable<String> values) Locations that could not be reached.addDatasetConfigs(int index, DatasetConfig value) The list of `DatasetConfigs`addDatasetConfigs(int index, DatasetConfig.Builder builderForValue) The list of `DatasetConfigs`addDatasetConfigs(DatasetConfig value) The list of `DatasetConfigs`addDatasetConfigs(DatasetConfig.Builder builderForValue) The list of `DatasetConfigs`The list of `DatasetConfigs`addDatasetConfigsBuilder(int index) The list of `DatasetConfigs`addUnreachable(String value) Locations that could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.build()clear()The list of `DatasetConfigs`A token identifying a page of results the server should return.Locations that could not be reached.getDatasetConfigs(int index) The list of `DatasetConfigs`getDatasetConfigsBuilder(int index) The list of `DatasetConfigs`The list of `DatasetConfigs`intThe list of `DatasetConfigs`The list of `DatasetConfigs`getDatasetConfigsOrBuilder(int index) The list of `DatasetConfigs`List<? extends DatasetConfigOrBuilder>The list of `DatasetConfigs`static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token identifying a page of results the server should return.com.google.protobuf.ByteStringA token identifying a page of results the server should return.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(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDatasetConfigs(int index) The list of `DatasetConfigs`setDatasetConfigs(int index, DatasetConfig value) The list of `DatasetConfigs`setDatasetConfigs(int index, DatasetConfig.Builder builderForValue) The list of `DatasetConfigs`setNextPageToken(String value) A token identifying a page of results the server should return.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token identifying a page of results the server should return.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<ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListDatasetConfigsResponse.Builder>
-
mergeFrom
public ListDatasetConfigsResponse.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<ListDatasetConfigsResponse.Builder>- Throws:
IOException
-
getDatasetConfigsList
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;- Specified by:
getDatasetConfigsListin interfaceListDatasetConfigsResponseOrBuilder
-
getDatasetConfigsCount
public int getDatasetConfigsCount()The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;- Specified by:
getDatasetConfigsCountin interfaceListDatasetConfigsResponseOrBuilder
-
getDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;- Specified by:
getDatasetConfigsin interfaceListDatasetConfigsResponseOrBuilder
-
setDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
setDatasetConfigs
public ListDatasetConfigsResponse.Builder setDatasetConfigs(int index, DatasetConfig.Builder builderForValue) The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
addDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
addDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
addDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
addDatasetConfigs
public ListDatasetConfigsResponse.Builder addDatasetConfigs(int index, DatasetConfig.Builder builderForValue) The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
addAllDatasetConfigs
public ListDatasetConfigsResponse.Builder addAllDatasetConfigs(Iterable<? extends DatasetConfig> values) The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
clearDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
removeDatasetConfigs
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
getDatasetConfigsBuilder
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
getDatasetConfigsOrBuilder
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;- Specified by:
getDatasetConfigsOrBuilderin interfaceListDatasetConfigsResponseOrBuilder
-
getDatasetConfigsOrBuilderList
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1;- Specified by:
getDatasetConfigsOrBuilderListin interfaceListDatasetConfigsResponseOrBuilder
-
addDatasetConfigsBuilder
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
addDatasetConfigsBuilder
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
getDatasetConfigsBuilderList
The list of `DatasetConfigs`
repeated .google.cloud.storageinsights.v1.DatasetConfig dataset_configs = 1; -
getNextPageToken
A token identifying a page of results the server should return.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListDatasetConfigsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token identifying a page of results the server should return.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListDatasetConfigsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token identifying a page of results the server should return.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token identifying a page of results the server should return.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListDatasetConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token identifying a page of results the server should return.
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.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListDatasetConfigsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListDatasetConfigsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListDatasetConfigsResponseOrBuilder- 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 = 3;- Specified by:
getUnreachableBytesin interfaceListDatasetConfigsResponseOrBuilder- 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 = 3;- 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 = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-