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.Builder
addAllFunctions(Iterable<? extends Function> values)
The functions that match the request.ListFunctionsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListFunctionsResponse.Builder
addFunctions(int index, Function value)
The functions that match the request.ListFunctionsResponse.Builder
addFunctions(int index, Function.Builder builderForValue)
The functions that match the request.ListFunctionsResponse.Builder
addFunctions(Function value)
The functions that match the request.ListFunctionsResponse.Builder
addFunctions(Function.Builder builderForValue)
The functions that match the request.Function.Builder
addFunctionsBuilder()
The functions that match the request.Function.Builder
addFunctionsBuilder(int index)
The functions that match the request.ListFunctionsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListFunctionsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListFunctionsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListFunctionsResponse
build()
ListFunctionsResponse
buildPartial()
ListFunctionsResponse.Builder
clear()
ListFunctionsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListFunctionsResponse.Builder
clearFunctions()
The functions that match the request.ListFunctionsResponse.Builder
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.ListFunctionsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListFunctionsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListFunctionsResponse.Builder
clone()
ListFunctionsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Function
getFunctions(int index)
The functions that match the request.Function.Builder
getFunctionsBuilder(int index)
The functions that match the request.List<Function.Builder>
getFunctionsBuilderList()
The functions that match the request.int
getFunctionsCount()
The functions that match the request.List<Function>
getFunctionsList()
The functions that match the request.FunctionOrBuilder
getFunctionsOrBuilder(int index)
The functions that match the request.List<? extends FunctionOrBuilder>
getFunctionsOrBuilderList()
The functions that match the request.String
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.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()
ListFunctionsResponse.Builder
mergeFrom(ListFunctionsResponse other)
ListFunctionsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListFunctionsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListFunctionsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListFunctionsResponse.Builder
removeFunctions(int index)
The functions that match the request.ListFunctionsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListFunctionsResponse.Builder
setFunctions(int index, Function value)
The functions that match the request.ListFunctionsResponse.Builder
setFunctions(int index, Function.Builder builderForValue)
The functions that match the request.ListFunctionsResponse.Builder
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.ListFunctionsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.ListFunctionsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListFunctionsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListFunctionsResponse.Builder
setUnreachable(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
clear
public ListFunctionsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
getDefaultInstanceForType
public ListFunctionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListFunctionsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListFunctionsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListFunctionsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
setField
public ListFunctionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
clearField
public ListFunctionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
clearOneof
public ListFunctionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
setRepeatedField
public ListFunctionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
addRepeatedField
public ListFunctionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
mergeFrom
public ListFunctionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListFunctionsResponse.Builder>
-
mergeFrom
public ListFunctionsResponse.Builder mergeFrom(ListFunctionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getFunctionsList
in interfaceListFunctionsResponseOrBuilder
-
getFunctionsCount
public int getFunctionsCount()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
- Specified by:
getFunctionsCount
in interfaceListFunctionsResponseOrBuilder
-
getFunctions
public Function getFunctions(int index)
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
- Specified by:
getFunctions
in 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:
getFunctionsOrBuilder
in interfaceListFunctionsResponseOrBuilder
-
getFunctionsOrBuilderList
public List<? extends FunctionOrBuilder> getFunctionsOrBuilderList()
The functions that match the request.
repeated .google.cloud.functions.v2.Function functions = 1;
- Specified by:
getFunctionsOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
getUnreachableList
in 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:
getUnreachableCount
in 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:
getUnreachable
in 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:
getUnreachableBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
mergeUnknownFields
public final ListFunctionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFunctionsResponse.Builder>
-
-