public static final class ListTenantsResponse.Builder extends GeneratedMessageV3.Builder<ListTenantsResponse.Builder> implements ListTenantsResponseOrBuilder
The response structure for the ListTenants method.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.ListTenantsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListTenantsResponse.BuilderImplements
ListTenantsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTenants(Iterable<? extends Tenant> values)
public ListTenantsResponse.Builder addAllTenants(Iterable<? extends Tenant> values)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant> |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListTenantsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 10511;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTenantsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
addTenants(Tenant value)
public ListTenantsResponse.Builder addTenants(Tenant value)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
value |
Tenant |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
addTenants(Tenant.Builder builderForValue)
public ListTenantsResponse.Builder addTenants(Tenant.Builder builderForValue)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
builderForValue |
Tenant.Builder |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
addTenants(int index, Tenant value)
public ListTenantsResponse.Builder addTenants(int index, Tenant value)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Tenant |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
addTenants(int index, Tenant.Builder builderForValue)
public ListTenantsResponse.Builder addTenants(int index, Tenant.Builder builderForValue)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Tenant.Builder |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
addTenantsBuilder()
public Tenant.Builder addTenantsBuilder()
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Returns | |
---|---|
Type | Description |
Tenant.Builder |
addTenantsBuilder(int index)
public Tenant.Builder addTenantsBuilder(int index)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tenant.Builder |
addUnreachable(String value)
public ListTenantsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 10511;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListTenantsResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 10511;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
build()
public ListTenantsResponse build()
Returns | |
---|---|
Type | Description |
ListTenantsResponse |
buildPartial()
public ListTenantsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListTenantsResponse |
clear()
public ListTenantsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListTenantsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
clearNextPageToken()
public ListTenantsResponse.Builder clearNextPageToken()
If present, the next page token can be provided to a subsequent ListTenants call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTenantsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
clearTenants()
public ListTenantsResponse.Builder clearTenants()
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
clearUnreachable()
public ListTenantsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 10511;
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
clone()
public ListTenantsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
getDefaultInstanceForType()
public ListTenantsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListTenantsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
If present, the next page token can be provided to a subsequent ListTenants call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If present, the next page token can be provided to a subsequent ListTenants call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getTenants(int index)
public Tenant getTenants(int index)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tenant |
getTenantsBuilder(int index)
public Tenant.Builder getTenantsBuilder(int index)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tenant.Builder |
getTenantsBuilderList()
public List<Tenant.Builder> getTenantsBuilderList()
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Returns | |
---|---|
Type | Description |
List<Builder> |
getTenantsCount()
public int getTenantsCount()
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Returns | |
---|---|
Type | Description |
int |
getTenantsList()
public List<Tenant> getTenantsList()
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Returns | |
---|---|
Type | Description |
List<Tenant> |
getTenantsOrBuilder(int index)
public TenantOrBuilder getTenantsOrBuilder(int index)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TenantOrBuilder |
getTenantsOrBuilderList()
public List<? extends TenantOrBuilder> getTenantsOrBuilderList()
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.TenantOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 10511;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 10511;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 10511;
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 10511;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListTenantsResponse other)
public ListTenantsResponse.Builder mergeFrom(ListTenantsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListTenantsResponse |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListTenantsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListTenantsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTenantsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
removeTenants(int index)
public ListTenantsResponse.Builder removeTenants(int index)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListTenantsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
setNextPageToken(String value)
public ListTenantsResponse.Builder setNextPageToken(String value)
If present, the next page token can be provided to a subsequent ListTenants call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListTenantsResponse.Builder setNextPageTokenBytes(ByteString value)
If present, the next page token can be provided to a subsequent ListTenants call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTenantsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
setTenants(int index, Tenant value)
public ListTenantsResponse.Builder setTenants(int index, Tenant value)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Tenant |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
setTenants(int index, Tenant.Builder builderForValue)
public ListTenantsResponse.Builder setTenants(int index, Tenant.Builder builderForValue)
The resulting tenants.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Tenant.Builder |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTenantsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
setUnreachable(int index, String value)
public ListTenantsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 10511;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListTenantsResponse.Builder |
This builder for chaining. |