Package com.google.cloud.functions.v2
Class ListFunctionsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
- com.google.cloud.functions.v2.ListFunctionsResponse.Builder
-
- All Implemented Interfaces:
ListFunctionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListFunctionsResponse
public static final class ListFunctionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder> implements ListFunctionsResponseOrBuilder
Response for the `ListFunctions` method.
Protobuf typegoogle.cloud.functions.v2.ListFunctionsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFunctionsResponse.BuilderaddAllFunctions(Iterable<? extends Function> values)The functions that match the request.ListFunctionsResponse.BuilderaddAllUnreachable(Iterable<String> values)Locations that could not be reached.ListFunctionsResponse.BuilderaddFunctions(int index, Function value)The functions that match the request.ListFunctionsResponse.BuilderaddFunctions(int index, Function.Builder builderForValue)The functions that match the request.ListFunctionsResponse.BuilderaddFunctions(Function value)The functions that match the request.ListFunctionsResponse.BuilderaddFunctions(Function.Builder builderForValue)The functions that match the request.Function.BuilderaddFunctionsBuilder()The functions that match the request.Function.BuilderaddFunctionsBuilder(int index)The functions that match the request.ListFunctionsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListFunctionsResponse.BuilderaddUnreachable(String value)Locations that could not be reached.ListFunctionsResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Locations that could not be reached.ListFunctionsResponsebuild()ListFunctionsResponsebuildPartial()ListFunctionsResponse.Builderclear()ListFunctionsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListFunctionsResponse.BuilderclearFunctions()The functions that match the request.ListFunctionsResponse.BuilderclearNextPageToken()A token, which can be sent as `page_token` to retrieve the next page.ListFunctionsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListFunctionsResponse.BuilderclearUnreachable()Locations that could not be reached.ListFunctionsResponse.Builderclone()ListFunctionsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FunctiongetFunctions(int index)The functions that match the request.Function.BuildergetFunctionsBuilder(int index)The functions that match the request.List<Function.Builder>getFunctionsBuilderList()The functions that match the request.intgetFunctionsCount()The functions that match the request.List<Function>getFunctionsList()The functions that match the request.FunctionOrBuildergetFunctionsOrBuilder(int index)The functions that match the request.List<? extends FunctionOrBuilder>getFunctionsOrBuilderList()The functions that match the request.StringgetNextPageToken()A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringgetNextPageTokenBytes()A token, which can be sent as `page_token` to retrieve the next page.StringgetUnreachable(int index)Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index)Locations that could not be reached.intgetUnreachableCount()Locations that could not be reached.com.google.protobuf.ProtocolStringListgetUnreachableList()Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListFunctionsResponse.BuildermergeFrom(ListFunctionsResponse other)ListFunctionsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListFunctionsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListFunctionsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListFunctionsResponse.BuilderremoveFunctions(int index)The functions that match the request.ListFunctionsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListFunctionsResponse.BuildersetFunctions(int index, Function value)The functions that match the request.ListFunctionsResponse.BuildersetFunctions(int index, Function.Builder builderForValue)The functions that match the request.ListFunctionsResponse.BuildersetNextPageToken(String value)A token, which can be sent as `page_token` to retrieve the next page.ListFunctionsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A token, which can be sent as `page_token` to retrieve the next page.ListFunctionsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListFunctionsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListFunctionsResponse.BuildersetUnreachable(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
clear
public ListFunctionsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.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.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
getDefaultInstanceForType
public ListFunctionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListFunctionsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListFunctionsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListFunctionsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
setField
public ListFunctionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
clearField
public ListFunctionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
clearOneof
public ListFunctionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
setRepeatedField
public ListFunctionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
addRepeatedField
public ListFunctionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
mergeFrom
public ListFunctionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFunctionsResponse.Builder>
-
mergeFrom
public ListFunctionsResponse.Builder mergeFrom(ListFunctionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
mergeFrom
public ListFunctionsResponse.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<ListFunctionsResponse.Builder>- Throws:
IOException
-
getFunctionsList
public List<Function> getFunctionsList()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;- Specified by:
getFunctionsListin interfaceListFunctionsResponseOrBuilder
-
getFunctionsCount
public int getFunctionsCount()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;- Specified by:
getFunctionsCountin interfaceListFunctionsResponseOrBuilder
-
getFunctions
public Function getFunctions(int index)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;- Specified by:
getFunctionsin interfaceListFunctionsResponseOrBuilder
-
setFunctions
public ListFunctionsResponse.Builder setFunctions(int index, Function value)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
setFunctions
public ListFunctionsResponse.Builder setFunctions(int index, Function.Builder builderForValue)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
addFunctions
public ListFunctionsResponse.Builder addFunctions(Function value)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
addFunctions
public ListFunctionsResponse.Builder addFunctions(int index, Function value)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
addFunctions
public ListFunctionsResponse.Builder addFunctions(Function.Builder builderForValue)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
addFunctions
public ListFunctionsResponse.Builder addFunctions(int index, Function.Builder builderForValue)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
addAllFunctions
public ListFunctionsResponse.Builder addAllFunctions(Iterable<? extends Function> values)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
clearFunctions
public ListFunctionsResponse.Builder clearFunctions()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
removeFunctions
public ListFunctionsResponse.Builder removeFunctions(int index)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
getFunctionsBuilder
public Function.Builder getFunctionsBuilder(int index)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
getFunctionsOrBuilder
public FunctionOrBuilder getFunctionsOrBuilder(int index)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;- Specified by:
getFunctionsOrBuilderin interfaceListFunctionsResponseOrBuilder
-
getFunctionsOrBuilderList
public List<? extends FunctionOrBuilder> getFunctionsOrBuilderList()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;- Specified by:
getFunctionsOrBuilderListin interfaceListFunctionsResponseOrBuilder
-
addFunctionsBuilder
public Function.Builder addFunctionsBuilder()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
addFunctionsBuilder
public Function.Builder addFunctionsBuilder(int index)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
getFunctionsBuilderList
public List<Function.Builder> getFunctionsBuilderList()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
-
getNextPageToken
public String getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListFunctionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListFunctionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListFunctionsResponse.Builder setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListFunctionsResponse.Builder clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListFunctionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
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. The response does not include any functions from these locations.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListFunctionsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached. The response does not include any functions from these locations.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListFunctionsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached. The response does not include any functions from these locations.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListFunctionsResponseOrBuilder- 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. The response does not include any functions from these locations.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListFunctionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListFunctionsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached. The response does not include any functions from these locations.
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 ListFunctionsResponse.Builder addUnreachable(String value)
Locations that could not be reached. The response does not include any functions from these locations.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListFunctionsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached. The response does not include any functions from these locations.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListFunctionsResponse.Builder clearUnreachable()
Locations that could not be reached. The response does not include any functions from these locations.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListFunctionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached. The response does not include any functions from these locations.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListFunctionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
mergeUnknownFields
public final ListFunctionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
-