Package com.google.pubsub.v1
Class IngestionFailureEvent.CloudStorageFailure.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IngestionFailureEvent.CloudStorageFailureOrBuilder,Cloneable
- Enclosing class:
- IngestionFailureEvent.CloudStorageFailure
public static final class IngestionFailureEvent.CloudStorageFailure.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
implements IngestionFailureEvent.CloudStorageFailureOrBuilder
Failure when ingesting from a Cloud Storage source.Protobuf type
google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Optional.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.clone()Optional.Optional.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOptional.Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Optional.setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue) Optional.Optional.setAvroFailureReason(IngestionFailureEvent.AvroFailureReason.Builder builderForValue) Optional.Optional.setBucketBytes(com.google.protobuf.ByteString value) Optional.setObjectGeneration(long value) Optional.setObjectName(String value) Optional.setObjectNameBytes(com.google.protobuf.ByteString value) Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional.Optional.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
setField
public IngestionFailureEvent.CloudStorageFailure.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
clearField
public IngestionFailureEvent.CloudStorageFailure.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
clearOneof
public IngestionFailureEvent.CloudStorageFailure.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
setRepeatedField
public IngestionFailureEvent.CloudStorageFailure.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
addRepeatedField
public IngestionFailureEvent.CloudStorageFailure.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
mergeFrom
public IngestionFailureEvent.CloudStorageFailure.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
mergeFrom
public IngestionFailureEvent.CloudStorageFailure.Builder mergeFrom(IngestionFailureEvent.CloudStorageFailure other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
mergeFrom
public IngestionFailureEvent.CloudStorageFailure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>- Throws:
IOException
-
getReasonCase
- Specified by:
getReasonCasein interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder
-
clearReason
-
getBucket
Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBucketin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The bucket.
-
getBucketBytes
public com.google.protobuf.ByteString getBucketBytes()Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBucketBytesin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The bytes for bucket.
-
setBucket
Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bucket to set.- Returns:
- This builder for chaining.
-
clearBucket
Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setBucketBytes
public IngestionFailureEvent.CloudStorageFailure.Builder setBucketBytes(com.google.protobuf.ByteString value) Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for bucket to set.- Returns:
- This builder for chaining.
-
getObjectName
Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectNamein interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The objectName.
-
getObjectNameBytes
public com.google.protobuf.ByteString getObjectNameBytes()Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectNameBytesin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The bytes for objectName.
-
setObjectName
Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The objectName to set.- Returns:
- This builder for chaining.
-
clearObjectName
Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setObjectNameBytes
public IngestionFailureEvent.CloudStorageFailure.Builder setObjectNameBytes(com.google.protobuf.ByteString value) Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for objectName to set.- Returns:
- This builder for chaining.
-
getObjectGeneration
public long getObjectGeneration()Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
int64 object_generation = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectGenerationin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The objectGeneration.
-
setObjectGeneration
Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
int64 object_generation = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The objectGeneration to set.- Returns:
- This builder for chaining.
-
clearObjectGeneration
Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
int64 object_generation = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasAvroFailureReason
public boolean hasAvroFailureReason()Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAvroFailureReasonin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- Whether the avroFailureReason field is set.
-
getAvroFailureReason
Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAvroFailureReasonin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The avroFailureReason.
-
setAvroFailureReason
public IngestionFailureEvent.CloudStorageFailure.Builder setAvroFailureReason(IngestionFailureEvent.AvroFailureReason value) Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setAvroFailureReason
public IngestionFailureEvent.CloudStorageFailure.Builder setAvroFailureReason(IngestionFailureEvent.AvroFailureReason.Builder builderForValue) Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeAvroFailureReason
public IngestionFailureEvent.CloudStorageFailure.Builder mergeAvroFailureReason(IngestionFailureEvent.AvroFailureReason value) Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearAvroFailureReason
Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAvroFailureReasonBuilder
Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAvroFailureReasonOrBuilder
Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAvroFailureReasonOrBuilderin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder
-
hasApiViolationReason
public boolean hasApiViolationReason()Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasApiViolationReasonin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- Whether the apiViolationReason field is set.
-
getApiViolationReason
Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getApiViolationReasonin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The apiViolationReason.
-
setApiViolationReason
public IngestionFailureEvent.CloudStorageFailure.Builder setApiViolationReason(IngestionFailureEvent.ApiViolationReason value) Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setApiViolationReason
public IngestionFailureEvent.CloudStorageFailure.Builder setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue) Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
mergeApiViolationReason
public IngestionFailureEvent.CloudStorageFailure.Builder mergeApiViolationReason(IngestionFailureEvent.ApiViolationReason value) Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearApiViolationReason
Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getApiViolationReasonBuilder
Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getApiViolationReasonOrBuilder
Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getApiViolationReasonOrBuilderin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder
-
hasSchemaViolationReason
public boolean hasSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSchemaViolationReasonin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- Whether the schemaViolationReason field is set.
-
getSchemaViolationReason
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSchemaViolationReasonin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder- Returns:
- The schemaViolationReason.
-
setSchemaViolationReason
public IngestionFailureEvent.CloudStorageFailure.Builder setSchemaViolationReason(IngestionFailureEvent.SchemaViolationReason value) Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; -
setSchemaViolationReason
public IngestionFailureEvent.CloudStorageFailure.Builder setSchemaViolationReason(IngestionFailureEvent.SchemaViolationReason.Builder builderForValue) Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSchemaViolationReason
public IngestionFailureEvent.CloudStorageFailure.Builder mergeSchemaViolationReason(IngestionFailureEvent.SchemaViolationReason value) Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; -
clearSchemaViolationReason
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getSchemaViolationReasonBuilder
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getSchemaViolationReasonOrBuilder
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSchemaViolationReasonOrBuilderin interfaceIngestionFailureEvent.CloudStorageFailureOrBuilder
-
setUnknownFields
public final IngestionFailureEvent.CloudStorageFailure.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-
mergeUnknownFields
public final IngestionFailureEvent.CloudStorageFailure.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.CloudStorageFailure.Builder>
-