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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListGatewaysResponse.Builder> implements ListGatewaysResponseOrBuilder
Response message for ApiGatewayService.ListGateways
Protobuf typegoogle.cloud.apigateway.v1.ListGatewaysResponse
-
-
Method Summary
-
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<ListGatewaysResponse.Builder>
-
clear
public ListGatewaysResponse.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<ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
getDefaultInstanceForType
public ListGatewaysResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListGatewaysResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListGatewaysResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
setField
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
clearField
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
clearOneof
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
setRepeatedField
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
addRepeatedField
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
-
mergeFrom
public ListGatewaysResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListGatewaysResponse.Builder>
-
mergeFrom
public ListGatewaysResponse.Builder mergeFrom(ListGatewaysResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListGatewaysResponse.Builder>
-
mergeFrom
public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
- Throws:
IOException
-
getGatewaysList
public List<Gateway> getGatewaysList()
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
- Specified by:
getGatewaysList
in interfaceListGatewaysResponseOrBuilder
-
getGatewaysCount
public int getGatewaysCount()
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
- Specified by:
getGatewaysCount
in interfaceListGatewaysResponseOrBuilder
-
getGateways
public Gateway getGateways(int index)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
- Specified by:
getGateways
in interfaceListGatewaysResponseOrBuilder
-
setGateways
public ListGatewaysResponse.Builder setGateways(int index, Gateway value)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
setGateways
public ListGatewaysResponse.Builder setGateways(int index, Gateway.Builder builderForValue)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
addGateways
public ListGatewaysResponse.Builder addGateways(Gateway value)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
addGateways
public ListGatewaysResponse.Builder addGateways(int index, Gateway value)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
addGateways
public ListGatewaysResponse.Builder addGateways(Gateway.Builder builderForValue)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
addGateways
public ListGatewaysResponse.Builder addGateways(int index, Gateway.Builder builderForValue)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
addAllGateways
public ListGatewaysResponse.Builder addAllGateways(Iterable<? extends Gateway> values)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
clearGateways
public ListGatewaysResponse.Builder clearGateways()
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
removeGateways
public ListGatewaysResponse.Builder removeGateways(int index)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
getGatewaysBuilder
public Gateway.Builder getGatewaysBuilder(int index)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
getGatewaysOrBuilder
public GatewayOrBuilder getGatewaysOrBuilder(int index)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
- Specified by:
getGatewaysOrBuilder
in interfaceListGatewaysResponseOrBuilder
-
getGatewaysOrBuilderList
public List<? extends GatewayOrBuilder> getGatewaysOrBuilderList()
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
- Specified by:
getGatewaysOrBuilderList
in interfaceListGatewaysResponseOrBuilder
-
addGatewaysBuilder
public Gateway.Builder addGatewaysBuilder()
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
addGatewaysBuilder
public Gateway.Builder addGatewaysBuilder(int index)
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
getGatewaysBuilderList
public List<Gateway.Builder> getGatewaysBuilderList()
Gateways.
repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
-
getNextPageToken
public String getNextPageToken()
Next page token.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListGatewaysResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Next page token.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListGatewaysResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListGatewaysResponse.Builder setNextPageToken(String value)
Next page token.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListGatewaysResponse.Builder clearNextPageToken()
Next page token.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListGatewaysResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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:
getUnreachableLocationsList
in interfaceListGatewaysResponseOrBuilder
- Returns:
- A list containing the unreachableLocations.
-
getUnreachableLocationsCount
public int getUnreachableLocationsCount()
Locations that could not be reached.
repeated string unreachable_locations = 3;
- Specified by:
getUnreachableLocationsCount
in interfaceListGatewaysResponseOrBuilder
- Returns:
- The count of unreachableLocations.
-
getUnreachableLocations
public String getUnreachableLocations(int index)
Locations that could not be reached.
repeated string unreachable_locations = 3;
- Specified by:
getUnreachableLocations
in 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:
getUnreachableLocationsBytes
in interfaceListGatewaysResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachableLocations at the given index.
-
setUnreachableLocations
public ListGatewaysResponse.Builder setUnreachableLocations(int index, String value)
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
public ListGatewaysResponse.Builder addUnreachableLocations(String value)
Locations that could not be reached.
repeated string unreachable_locations = 3;
- Parameters:
value
- The unreachableLocations to add.- Returns:
- This builder for chaining.
-
addAllUnreachableLocations
public ListGatewaysResponse.Builder addAllUnreachableLocations(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable_locations = 3;
- Parameters:
values
- The unreachableLocations to add.- Returns:
- This builder for chaining.
-
clearUnreachableLocations
public ListGatewaysResponse.Builder 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.
-
setUnknownFields
public final ListGatewaysResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListGatewaysResponse.Builder>
-
mergeUnknownFields
public final ListGatewaysResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListGatewaysResponse.Builder>
-
-