public static final class IngestionFailureEvent.Builder extends GeneratedMessageV3.Builder<IngestionFailureEvent.Builder> implements IngestionFailureEventOrBuilder
Payload of the Platform Log entry sent when a failure is encountered while
ingesting.
Protobuf type google.pubsub.v1.IngestionFailureEvent
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionFailureEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IngestionFailureEvent build()
buildPartial()
public IngestionFailureEvent buildPartial()
clear()
public IngestionFailureEvent.Builder clear()
Overrides
clearCloudStorageFailure()
public IngestionFailureEvent.Builder clearCloudStorageFailure()
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
clearErrorMessage()
public IngestionFailureEvent.Builder clearErrorMessage()
Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];
clearFailure()
public IngestionFailureEvent.Builder clearFailure()
clearField(Descriptors.FieldDescriptor field)
public IngestionFailureEvent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionFailureEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTopic()
public IngestionFailureEvent.Builder clearTopic()
Required. Name of the import topic. Format is:
projects/{project_name}/topics/{topic_name}.
string topic = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public IngestionFailureEvent.Builder clone()
Overrides
getCloudStorageFailure()
public IngestionFailureEvent.CloudStorageFailure getCloudStorageFailure()
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageFailureBuilder()
public IngestionFailureEvent.CloudStorageFailure.Builder getCloudStorageFailureBuilder()
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
getCloudStorageFailureOrBuilder()
public IngestionFailureEvent.CloudStorageFailureOrBuilder getCloudStorageFailureOrBuilder()
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public IngestionFailureEvent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getErrorMessage()
public String getErrorMessage()
Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The errorMessage.
|
getErrorMessageBytes()
public ByteString getErrorMessageBytes()
Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for errorMessage.
|
getFailureCase()
public IngestionFailureEvent.FailureCase getFailureCase()
getTopic()
Required. Name of the import topic. Format is:
projects/{project_name}/topics/{topic_name}.
string topic = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The topic.
|
getTopicBytes()
public ByteString getTopicBytes()
Required. Name of the import topic. Format is:
projects/{project_name}/topics/{topic_name}.
string topic = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for topic.
|
hasCloudStorageFailure()
public boolean hasCloudStorageFailure()
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the cloudStorageFailure field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCloudStorageFailure(IngestionFailureEvent.CloudStorageFailure value)
public IngestionFailureEvent.Builder mergeCloudStorageFailure(IngestionFailureEvent.CloudStorageFailure value)
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
public IngestionFailureEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IngestionFailureEvent.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(IngestionFailureEvent other)
public IngestionFailureEvent.Builder mergeFrom(IngestionFailureEvent other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCloudStorageFailure(IngestionFailureEvent.CloudStorageFailure value)
public IngestionFailureEvent.Builder setCloudStorageFailure(IngestionFailureEvent.CloudStorageFailure value)
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
setCloudStorageFailure(IngestionFailureEvent.CloudStorageFailure.Builder builderForValue)
public IngestionFailureEvent.Builder setCloudStorageFailure(IngestionFailureEvent.CloudStorageFailure.Builder builderForValue)
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
setErrorMessage(String value)
public IngestionFailureEvent.Builder setErrorMessage(String value)
Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The errorMessage to set.
|
setErrorMessageBytes(ByteString value)
public IngestionFailureEvent.Builder setErrorMessageBytes(ByteString value)
Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for errorMessage to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionFailureEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionFailureEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTopic(String value)
public IngestionFailureEvent.Builder setTopic(String value)
Required. Name of the import topic. Format is:
projects/{project_name}/topics/{topic_name}.
string topic = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The topic to set.
|
setTopicBytes(ByteString value)
public IngestionFailureEvent.Builder setTopicBytes(ByteString value)
Required. Name of the import topic. Format is:
projects/{project_name}/topics/{topic_name}.
string topic = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for topic to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides