public static final class ExportConfig.PartitionStatus extends GeneratedMessageV3 implements ExportConfig.PartitionStatusOrBuilder
The export status of a partition.
Protobuf type google.cloud.pubsublite.v1.ExportConfig.PartitionStatus
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExportConfig.PartitionStatusImplements
ExportConfig.PartitionStatusOrBuilderStatic Fields
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
Type | Description |
int |
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ExportConfig.PartitionStatus getDefaultInstance()
Type | Description |
ExportConfig.PartitionStatus |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ExportConfig.PartitionStatus.Builder newBuilder()
Type | Description |
ExportConfig.PartitionStatus.Builder |
newBuilder(ExportConfig.PartitionStatus prototype)
public static ExportConfig.PartitionStatus.Builder newBuilder(ExportConfig.PartitionStatus prototype)
Name | Description |
prototype | ExportConfig.PartitionStatus |
Type | Description |
ExportConfig.PartitionStatus.Builder |
parseDelimitedFrom(InputStream input)
public static ExportConfig.PartitionStatus parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportConfig.PartitionStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ExportConfig.PartitionStatus parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportConfig.PartitionStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ExportConfig.PartitionStatus parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportConfig.PartitionStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ExportConfig.PartitionStatus parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportConfig.PartitionStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ExportConfig.PartitionStatus parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportConfig.PartitionStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ExportConfig.PartitionStatus parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportConfig.PartitionStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExportConfig.PartitionStatus |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ExportConfig.PartitionStatus> parser()
Type | Description |
Parser<PartitionStatus> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ExportConfig.PartitionStatus getDefaultInstanceForType()
Type | Description |
ExportConfig.PartitionStatus |
getParserForType()
public Parser<ExportConfig.PartitionStatus> getParserForType()
Type | Description |
Parser<PartitionStatus> |
getPartition()
public long getPartition()
The partition number.
int64 partition = 1;
Type | Description |
long | The partition. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStatus()
public Status getStatus()
If the export for a partition is healthy and the desired state is
ACTIVE
, the status code will be OK
(zero). If the desired state of
the export is PAUSED
, the status code will be CANCELLED
.
If the export has been suspended due to an error, the status will be
populated with an error code and details. The service will automatically
retry after a period of time, and will update the status code to OK
if
export subsequently succeeds.
.google.rpc.Status status = 2;
Type | Description |
com.google.rpc.Status | The status. |
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
If the export for a partition is healthy and the desired state is
ACTIVE
, the status code will be OK
(zero). If the desired state of
the export is PAUSED
, the status code will be CANCELLED
.
If the export has been suspended due to an error, the status will be
populated with an error code and details. The service will automatically
retry after a period of time, and will update the status code to OK
if
export subsequently succeeds.
.google.rpc.Status status = 2;
Type | Description |
com.google.rpc.StatusOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasStatus()
public boolean hasStatus()
If the export for a partition is healthy and the desired state is
ACTIVE
, the status code will be OK
(zero). If the desired state of
the export is PAUSED
, the status code will be CANCELLED
.
If the export has been suspended due to an error, the status will be
populated with an error code and details. The service will automatically
retry after a period of time, and will update the status code to OK
if
export subsequently succeeds.
.google.rpc.Status status = 2;
Type | Description |
boolean | Whether the status field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ExportConfig.PartitionStatus.Builder newBuilderForType()
Type | Description |
ExportConfig.PartitionStatus.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExportConfig.PartitionStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ExportConfig.PartitionStatus.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ExportConfig.PartitionStatus.Builder toBuilder()
Type | Description |
ExportConfig.PartitionStatus.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |