Package com.google.cloud.apihub.v1
Class ListHostProjectRegistrationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListHostProjectRegistrationsResponse.Builder>
com.google.cloud.apihub.v1.ListHostProjectRegistrationsResponse.Builder
- All Implemented Interfaces:
ListHostProjectRegistrationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListHostProjectRegistrationsResponse
public static final class ListHostProjectRegistrationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListHostProjectRegistrationsResponse.Builder>
implements ListHostProjectRegistrationsResponseOrBuilder
The [ListHostProjectRegistrations][google.cloud.apihub.v1.HostProjectRegistrationService.ListHostProjectRegistrations] method's response.Protobuf type
google.cloud.apihub.v1.ListHostProjectRegistrationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllHostProjectRegistrations(Iterable<? extends HostProjectRegistration> values) The list of host project registrations.addHostProjectRegistrations(int index, HostProjectRegistration value) The list of host project registrations.addHostProjectRegistrations(int index, HostProjectRegistration.Builder builderForValue) The list of host project registrations.The list of host project registrations.addHostProjectRegistrations(HostProjectRegistration.Builder builderForValue) The list of host project registrations.The list of host project registrations.addHostProjectRegistrationsBuilder(int index) The list of host project registrations.build()clear()The list of host project registrations.A token, which can be sent as `page_token` to retrieve the next page.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHostProjectRegistrations(int index) The list of host project registrations.getHostProjectRegistrationsBuilder(int index) The list of host project registrations.The list of host project registrations.intThe list of host project registrations.The list of host project registrations.getHostProjectRegistrationsOrBuilder(int index) The list of host project registrations.List<? extends HostProjectRegistrationOrBuilder>The list of host project registrations.A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token, which can be sent as `page_token` to retrieve the next page.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeHostProjectRegistrations(int index) The list of host project registrations.setHostProjectRegistrations(int index, HostProjectRegistration value) The list of host project registrations.setHostProjectRegistrations(int index, HostProjectRegistration.Builder builderForValue) The list of host project registrations.setNextPageToken(String value) A token, which can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page.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<ListHostProjectRegistrationsResponse.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<ListHostProjectRegistrationsResponse.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<ListHostProjectRegistrationsResponse.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<ListHostProjectRegistrationsResponse.Builder>
-
mergeFrom
public ListHostProjectRegistrationsResponse.Builder mergeFrom(ListHostProjectRegistrationsResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListHostProjectRegistrationsResponse.Builder>
-
mergeFrom
public ListHostProjectRegistrationsResponse.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<ListHostProjectRegistrationsResponse.Builder>- Throws:
IOException
-
getHostProjectRegistrationsList
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;- Specified by:
getHostProjectRegistrationsListin interfaceListHostProjectRegistrationsResponseOrBuilder
-
getHostProjectRegistrationsCount
public int getHostProjectRegistrationsCount()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;- Specified by:
getHostProjectRegistrationsCountin interfaceListHostProjectRegistrationsResponseOrBuilder
-
getHostProjectRegistrations
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;- Specified by:
getHostProjectRegistrationsin interfaceListHostProjectRegistrationsResponseOrBuilder
-
setHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder setHostProjectRegistrations(int index, HostProjectRegistration value) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
setHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder setHostProjectRegistrations(int index, HostProjectRegistration.Builder builderForValue) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
addHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(HostProjectRegistration value) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
addHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(int index, HostProjectRegistration value) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
addHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(HostProjectRegistration.Builder builderForValue) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
addHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(int index, HostProjectRegistration.Builder builderForValue) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
addAllHostProjectRegistrations
public ListHostProjectRegistrationsResponse.Builder addAllHostProjectRegistrations(Iterable<? extends HostProjectRegistration> values) The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
clearHostProjectRegistrations
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
removeHostProjectRegistrations
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
getHostProjectRegistrationsBuilder
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
getHostProjectRegistrationsOrBuilder
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;- Specified by:
getHostProjectRegistrationsOrBuilderin interfaceListHostProjectRegistrationsResponseOrBuilder
-
getHostProjectRegistrationsOrBuilderList
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;- Specified by:
getHostProjectRegistrationsOrBuilderListin interfaceListHostProjectRegistrationsResponseOrBuilder
-
addHostProjectRegistrationsBuilder
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
addHostProjectRegistrationsBuilder
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
getHostProjectRegistrationsBuilderList
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1; -
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 interfaceListHostProjectRegistrationsResponseOrBuilder- 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 interfaceListHostProjectRegistrationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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
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 ListHostProjectRegistrationsResponse.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.
-