public static final class ListHostProjectRegistrationsResponse.Builder extends GeneratedMessageV3.Builder<ListHostProjectRegistrationsResponse.Builder> implements ListHostProjectRegistrationsResponseOrBuilder
The
ListHostProjectRegistrations
method's response.
Protobuf type google.cloud.apihub.v1.ListHostProjectRegistrationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addHostProjectRegistrationsBuilder()
public HostProjectRegistration.Builder addHostProjectRegistrationsBuilder()
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListHostProjectRegistrationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListHostProjectRegistrationsResponse build()
buildPartial()
public ListHostProjectRegistrationsResponse buildPartial()
clear()
public ListHostProjectRegistrationsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListHostProjectRegistrationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHostProjectRegistrations()
public ListHostProjectRegistrationsResponse.Builder clearHostProjectRegistrations()
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListHostProjectRegistrationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListHostProjectRegistrationsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListHostProjectRegistrationsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
getHostProjectRegistrationsBuilderList()
public List<HostProjectRegistration.Builder> getHostProjectRegistrationsBuilderList()
The list of host project registrations.
repeated .google.cloud.apihub.v1.HostProjectRegistration host_project_registrations = 1;
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;
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListHostProjectRegistrationsResponse other)
public ListHostProjectRegistrationsResponse.Builder mergeFrom(ListHostProjectRegistrationsResponse other)
public ListHostProjectRegistrationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListHostProjectRegistrationsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListHostProjectRegistrationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListHostProjectRegistrationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListHostProjectRegistrationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListHostProjectRegistrationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides