public static final class ExportConfig.PartitionStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder> implements ExportConfig.PartitionStatusOrBuilder
The export status of a partition.Protobuf type
google.cloud.pubsublite.v1.ExportConfig.PartitionStatus| Modifier and Type | Method and Description |
|---|---|
ExportConfig.PartitionStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportConfig.PartitionStatus |
build() |
ExportConfig.PartitionStatus |
buildPartial() |
ExportConfig.PartitionStatus.Builder |
clear() |
ExportConfig.PartitionStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportConfig.PartitionStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportConfig.PartitionStatus.Builder |
clearPartition()
The partition number.
|
ExportConfig.PartitionStatus.Builder |
clearStatus()
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
ExportConfig.PartitionStatus.Builder |
clone() |
ExportConfig.PartitionStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getPartition()
The partition number.
|
com.google.rpc.Status |
getStatus()
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
com.google.rpc.Status.Builder |
getStatusBuilder()
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
boolean |
hasStatus()
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExportConfig.PartitionStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportConfig.PartitionStatus.Builder |
mergeFrom(ExportConfig.PartitionStatus other) |
ExportConfig.PartitionStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportConfig.PartitionStatus.Builder |
mergeStatus(com.google.rpc.Status value)
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
ExportConfig.PartitionStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportConfig.PartitionStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportConfig.PartitionStatus.Builder |
setPartition(long value)
The partition number.
|
ExportConfig.PartitionStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportConfig.PartitionStatus.Builder |
setStatus(com.google.rpc.Status.Builder builderForValue)
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
ExportConfig.PartitionStatus.Builder |
setStatus(com.google.rpc.Status value)
If the export for a partition is healthy and the desired state is
`ACTIVE`, the status code will be `OK` (zero).
|
ExportConfig.PartitionStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportConfig.PartitionStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportConfig.PartitionStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportConfig.PartitionStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder mergeFrom(ExportConfig.PartitionStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public ExportConfig.PartitionStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportConfig.PartitionStatus.Builder>IOExceptionpublic long getPartition()
The partition number.
int64 partition = 1;getPartition in interface ExportConfig.PartitionStatusOrBuilderpublic ExportConfig.PartitionStatus.Builder setPartition(long value)
The partition number.
int64 partition = 1;value - The partition to set.public ExportConfig.PartitionStatus.Builder clearPartition()
The partition number.
int64 partition = 1;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;hasStatus in interface ExportConfig.PartitionStatusOrBuilderpublic com.google.rpc.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;getStatus in interface ExportConfig.PartitionStatusOrBuilderpublic ExportConfig.PartitionStatus.Builder setStatus(com.google.rpc.Status value)
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;public ExportConfig.PartitionStatus.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
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;public ExportConfig.PartitionStatus.Builder mergeStatus(com.google.rpc.Status value)
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;public ExportConfig.PartitionStatus.Builder clearStatus()
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;public com.google.rpc.Status.Builder getStatusBuilder()
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;public com.google.rpc.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;getStatusOrBuilder in interface ExportConfig.PartitionStatusOrBuilderpublic final ExportConfig.PartitionStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>public final ExportConfig.PartitionStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportConfig.PartitionStatus.Builder>Copyright © 2022 Google LLC. All rights reserved.