Class ListServiceLbPoliciesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListServiceLbPoliciesResponse.Builder>
com.google.cloud.networkservices.v1.ListServiceLbPoliciesResponse.Builder
- All Implemented Interfaces:
ListServiceLbPoliciesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListServiceLbPoliciesResponse
public static final class ListServiceLbPoliciesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListServiceLbPoliciesResponse.Builder>
implements ListServiceLbPoliciesResponseOrBuilder
Response returned by the ListServiceLbPolicies method.Protobuf type
google.cloud.networkservices.v1.ListServiceLbPoliciesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllServiceLbPolicies(Iterable<? extends ServiceLbPolicy> values) List of ServiceLbPolicy resources.addAllUnreachable(Iterable<String> values) Unreachable resources.addServiceLbPolicies(int index, ServiceLbPolicy value) List of ServiceLbPolicy resources.addServiceLbPolicies(int index, ServiceLbPolicy.Builder builderForValue) List of ServiceLbPolicy resources.List of ServiceLbPolicy resources.addServiceLbPolicies(ServiceLbPolicy.Builder builderForValue) List of ServiceLbPolicy resources.List of ServiceLbPolicy resources.addServiceLbPoliciesBuilder(int index) List of ServiceLbPolicy resources.addUnreachable(String value) Unreachable resources.addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources.build()clear()If there might be more results than those appearing in this response, then `next_page_token` is included.List of ServiceLbPolicy resources.Unreachable resources.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf there might be more results than those appearing in this response, then `next_page_token` is included.com.google.protobuf.ByteStringIf there might be more results than those appearing in this response, then `next_page_token` is included.getServiceLbPolicies(int index) List of ServiceLbPolicy resources.getServiceLbPoliciesBuilder(int index) List of ServiceLbPolicy resources.List of ServiceLbPolicy resources.intList of ServiceLbPolicy resources.List of ServiceLbPolicy resources.getServiceLbPoliciesOrBuilder(int index) List of ServiceLbPolicy resources.List<? extends ServiceLbPolicyOrBuilder>List of ServiceLbPolicy resources.getUnreachable(int index) Unreachable resources.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unreachable resources.intUnreachable resources.com.google.protobuf.ProtocolStringListUnreachable resources.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeServiceLbPolicies(int index) List of ServiceLbPolicy resources.setNextPageToken(String value) If there might be more results than those appearing in this response, then `next_page_token` is included.setNextPageTokenBytes(com.google.protobuf.ByteString value) If there might be more results than those appearing in this response, then `next_page_token` is included.setServiceLbPolicies(int index, ServiceLbPolicy value) List of ServiceLbPolicy resources.setServiceLbPolicies(int index, ServiceLbPolicy.Builder builderForValue) List of ServiceLbPolicy resources.setUnreachable(int index, String value) Unreachable resources.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<ListServiceLbPoliciesResponse.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<ListServiceLbPoliciesResponse.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<ListServiceLbPoliciesResponse.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<ListServiceLbPoliciesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListServiceLbPoliciesResponse.Builder>
-
mergeFrom
public ListServiceLbPoliciesResponse.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<ListServiceLbPoliciesResponse.Builder>- Throws:
IOException
-
getServiceLbPoliciesList
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1;- Specified by:
getServiceLbPoliciesListin interfaceListServiceLbPoliciesResponseOrBuilder
-
getServiceLbPoliciesCount
public int getServiceLbPoliciesCount()List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1;- Specified by:
getServiceLbPoliciesCountin interfaceListServiceLbPoliciesResponseOrBuilder
-
getServiceLbPolicies
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1;- Specified by:
getServiceLbPoliciesin interfaceListServiceLbPoliciesResponseOrBuilder
-
setServiceLbPolicies
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
setServiceLbPolicies
public ListServiceLbPoliciesResponse.Builder setServiceLbPolicies(int index, ServiceLbPolicy.Builder builderForValue) List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
addServiceLbPolicies
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
addServiceLbPolicies
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
addServiceLbPolicies
public ListServiceLbPoliciesResponse.Builder addServiceLbPolicies(ServiceLbPolicy.Builder builderForValue) List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
addServiceLbPolicies
public ListServiceLbPoliciesResponse.Builder addServiceLbPolicies(int index, ServiceLbPolicy.Builder builderForValue) List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
addAllServiceLbPolicies
public ListServiceLbPoliciesResponse.Builder addAllServiceLbPolicies(Iterable<? extends ServiceLbPolicy> values) List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
clearServiceLbPolicies
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
removeServiceLbPolicies
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
getServiceLbPoliciesBuilder
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
getServiceLbPoliciesOrBuilder
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1;- Specified by:
getServiceLbPoliciesOrBuilderin interfaceListServiceLbPoliciesResponseOrBuilder
-
getServiceLbPoliciesOrBuilderList
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1;- Specified by:
getServiceLbPoliciesOrBuilderListin interfaceListServiceLbPoliciesResponseOrBuilder
-
addServiceLbPoliciesBuilder
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
addServiceLbPoliciesBuilder
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
getServiceLbPoliciesBuilderList
List of ServiceLbPolicy resources.
repeated .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policies = 1; -
getNextPageToken
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListServiceLbPoliciesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListServiceLbPoliciesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListServiceLbPoliciesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
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()Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListServiceLbPoliciesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListServiceLbPoliciesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListServiceLbPoliciesResponseOrBuilder- 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) Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListServiceLbPoliciesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListServiceLbPoliciesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-