public static final class ListHostProjectRegistrationsResponse.Builder extends GeneratedMessage.Builder<ListHostProjectRegistrationsResponse.Builder> implements ListHostProjectRegistrationsResponseOrBuilderThe ListHostProjectRegistrations method's response.
Protobuf type google.cloud.apihub.v1.ListHostProjectRegistrationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListHostProjectRegistrationsResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllHostProjectRegistrations(Iterable<? extends HostProjectRegistration> values)
public ListHostProjectRegistrationsResponse.Builder addAllHostProjectRegistrations(Iterable<? extends HostProjectRegistration> values)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.HostProjectRegistration> |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
addHostProjectRegistrations(HostProjectRegistration value)
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(HostProjectRegistration value)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
HostProjectRegistration |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
addHostProjectRegistrations(HostProjectRegistration.Builder builderForValue)
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(HostProjectRegistration.Builder builderForValue)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HostProjectRegistration.Builder |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
addHostProjectRegistrations(int index, HostProjectRegistration value)
public ListHostProjectRegistrationsResponse.Builder addHostProjectRegistrations(int index, HostProjectRegistration value)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
HostProjectRegistration |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
addHostProjectRegistrations(int index, HostProjectRegistration.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
HostProjectRegistration.Builder |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
addHostProjectRegistrationsBuilder()
public HostProjectRegistration.Builder addHostProjectRegistrationsBuilder()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Returns | |
|---|---|
| Type | Description |
HostProjectRegistration.Builder |
|
addHostProjectRegistrationsBuilder(int index)
public HostProjectRegistration.Builder addHostProjectRegistrationsBuilder(int index)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
HostProjectRegistration.Builder |
|
build()
public ListHostProjectRegistrationsResponse build()| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse |
|
buildPartial()
public ListHostProjectRegistrationsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse |
|
clear()
public ListHostProjectRegistrationsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
clearHostProjectRegistrations()
public ListHostProjectRegistrationsResponse.Builder clearHostProjectRegistrations()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
clearNextPageToken()
public ListHostProjectRegistrationsResponse.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 | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListHostProjectRegistrationsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHostProjectRegistrations(int index)
public HostProjectRegistration getHostProjectRegistrations(int index)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
HostProjectRegistration |
|
getHostProjectRegistrationsBuilder(int index)
public HostProjectRegistration.Builder getHostProjectRegistrationsBuilder(int index)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
HostProjectRegistration.Builder |
|
getHostProjectRegistrationsBuilderList()
public List<HostProjectRegistration.Builder> getHostProjectRegistrationsBuilderList()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getHostProjectRegistrationsCount()
public int getHostProjectRegistrationsCount()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getHostProjectRegistrationsList()
public List<HostProjectRegistration> getHostProjectRegistrationsList()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Returns | |
|---|---|
| Type | Description |
List<HostProjectRegistration> |
|
getHostProjectRegistrationsOrBuilder(int index)
public HostProjectRegistrationOrBuilder getHostProjectRegistrationsOrBuilder(int index)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
HostProjectRegistrationOrBuilder |
|
getHostProjectRegistrationsOrBuilderList()
public List<? extends HostProjectRegistrationOrBuilder> getHostProjectRegistrationsOrBuilderList()The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.apihub.v1.HostProjectRegistrationOrBuilder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListHostProjectRegistrationsResponse other)
public ListHostProjectRegistrationsResponse.Builder mergeFrom(ListHostProjectRegistrationsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListHostProjectRegistrationsResponse |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListHostProjectRegistrationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListHostProjectRegistrationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
removeHostProjectRegistrations(int index)
public ListHostProjectRegistrationsResponse.Builder removeHostProjectRegistrations(int index)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
setHostProjectRegistrations(int index, HostProjectRegistration value)
public ListHostProjectRegistrationsResponse.Builder setHostProjectRegistrations(int index, HostProjectRegistration value)The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
HostProjectRegistration |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
setHostProjectRegistrations(int index, HostProjectRegistration.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
HostProjectRegistration.Builder |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
|
setNextPageToken(String value)
public ListHostProjectRegistrationsResponse.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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListHostProjectRegistrationsResponse.Builder setNextPageTokenBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListHostProjectRegistrationsResponse.Builder |
This builder for chaining. |