Package com.google.cloud.apigateway.v1
Class ListGatewaysResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListGatewaysResponse.Builder>
com.google.cloud.apigateway.v1.ListGatewaysResponse.Builder
- All Implemented Interfaces:
ListGatewaysResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListGatewaysResponse
public static final class ListGatewaysResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListGatewaysResponse.Builder>
implements ListGatewaysResponseOrBuilder
Response message for ApiGatewayService.ListGatewaysProtobuf type
google.cloud.apigateway.v1.ListGatewaysResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllGateways(Iterable<? extends Gateway> values) Gateways.addAllUnreachableLocations(Iterable<String> values) Locations that could not be reached.addGateways(int index, Gateway value) Gateways.addGateways(int index, Gateway.Builder builderForValue) Gateways.addGateways(Gateway value) Gateways.addGateways(Gateway.Builder builderForValue) Gateways.Gateways.addGatewaysBuilder(int index) Gateways.addUnreachableLocations(String value) Locations that could not be reached.addUnreachableLocationsBytes(com.google.protobuf.ByteString value) Locations that could not be reached.build()clear()Gateways.Next page token.Locations that could not be reached.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGateways(int index) Gateways.getGatewaysBuilder(int index) Gateways.Gateways.intGateways.Gateways.getGatewaysOrBuilder(int index) Gateways.List<? extends GatewayOrBuilder>Gateways.Next page token.com.google.protobuf.ByteStringNext page token.getUnreachableLocations(int index) Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableLocationsBytes(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(ListGatewaysResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeGateways(int index) Gateways.setGateways(int index, Gateway value) Gateways.setGateways(int index, Gateway.Builder builderForValue) Gateways.setNextPageToken(String value) Next page token.setNextPageTokenBytes(com.google.protobuf.ByteString value) Next page token.setUnreachableLocations(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<ListGatewaysResponse.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<ListGatewaysResponse.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<ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListGatewaysResponse.Builder>
-
mergeFrom
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>- Throws:
IOException
-
getGatewaysList
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;- Specified by:
getGatewaysListin interfaceListGatewaysResponseOrBuilder
-
getGatewaysCount
public int getGatewaysCount()Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;- Specified by:
getGatewaysCountin interfaceListGatewaysResponseOrBuilder
-
getGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;- Specified by:
getGatewaysin interfaceListGatewaysResponseOrBuilder
-
setGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
setGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
addGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
addGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
addGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
addGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
addAllGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
clearGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
removeGateways
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
getGatewaysBuilder
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
getGatewaysOrBuilder
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;- Specified by:
getGatewaysOrBuilderin interfaceListGatewaysResponseOrBuilder
-
getGatewaysOrBuilderList
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;- Specified by:
getGatewaysOrBuilderListin interfaceListGatewaysResponseOrBuilder
-
addGatewaysBuilder
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
addGatewaysBuilder
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
getGatewaysBuilderList
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1; -
getNextPageToken
Next page token.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListGatewaysResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Next page token.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListGatewaysResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Next page token.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Next page token.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
Next page token.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableLocationsList
public com.google.protobuf.ProtocolStringList getUnreachableLocationsList()Locations that could not be reached.
repeated string unreachable_locations = 3;- Specified by:
getUnreachableLocationsListin interfaceListGatewaysResponseOrBuilder- Returns:
- A list containing the unreachableLocations.
-
getUnreachableLocationsCount
public int getUnreachableLocationsCount()Locations that could not be reached.
repeated string unreachable_locations = 3;- Specified by:
getUnreachableLocationsCountin interfaceListGatewaysResponseOrBuilder- Returns:
- The count of unreachableLocations.
-
getUnreachableLocations
Locations that could not be reached.
repeated string unreachable_locations = 3;- Specified by:
getUnreachableLocationsin interfaceListGatewaysResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachableLocations at the given index.
-
getUnreachableLocationsBytes
public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index) Locations that could not be reached.
repeated string unreachable_locations = 3;- Specified by:
getUnreachableLocationsBytesin interfaceListGatewaysResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachableLocations at the given index.
-
setUnreachableLocations
Locations that could not be reached.
repeated string unreachable_locations = 3;- Parameters:
index- The index to set the value at.value- The unreachableLocations to set.- Returns:
- This builder for chaining.
-
addUnreachableLocations
Locations that could not be reached.
repeated string unreachable_locations = 3;- Parameters:
value- The unreachableLocations to add.- Returns:
- This builder for chaining.
-
addAllUnreachableLocations
Locations that could not be reached.
repeated string unreachable_locations = 3;- Parameters:
values- The unreachableLocations to add.- Returns:
- This builder for chaining.
-
clearUnreachableLocations
Locations that could not be reached.
repeated string unreachable_locations = 3;- Returns:
- This builder for chaining.
-
addUnreachableLocationsBytes
public ListGatewaysResponse.Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value) Locations that could not be reached.
repeated string unreachable_locations = 3;- Parameters:
value- The bytes of the unreachableLocations to add.- Returns:
- This builder for chaining.
-