public final class ListTenantsResponse extends GeneratedMessageV3 implements ListTenantsResponseOrBuilder
The List tenants response object.
Protobuf type google.cloud.talent.v4beta1.ListTenantsResponse
Static Fields
public static final int METADATA_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TENANTS_FIELD_NUMBER
public static final int TENANTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListTenantsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListTenantsResponse.Builder newBuilder()
Returns
newBuilder(ListTenantsResponse prototype)
public static ListTenantsResponse.Builder newBuilder(ListTenantsResponse prototype)
Parameter
Returns
public static ListTenantsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListTenantsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListTenantsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListTenantsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListTenantsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListTenantsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListTenantsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListTenantsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListTenantsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListTenantsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListTenantsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListTenantsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListTenantsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListTenantsResponse getDefaultInstanceForType()
Returns
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
Returns
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
Returns
getNextPageToken()
public String getNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListTenantsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTenants(int index)
public Tenant getTenants(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter
Returns
getTenantsCount()
public int getTenantsCount()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Returns
getTenantsList()
public List<Tenant> getTenantsList()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Returns
getTenantsOrBuilder(int index)
public TenantOrBuilder getTenantsOrBuilder(int index)
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Parameter
Returns
getTenantsOrBuilderList()
public List<? extends TenantOrBuilder> getTenantsOrBuilderList()
Tenants for the current client.
repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4beta1.TenantOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasMetadata()
Additional information for the API invocation, such as the request
tracking id.
.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
Returns
Type | Description |
boolean | Whether the metadata field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListTenantsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListTenantsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListTenantsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions