All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.bookkeeper.stream.proto.StreamProperties Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream.proto
package org.apache.bookkeeper.stream.proto;
/**
* Protobuf type {@code bookkeeper.proto.stream.StreamProperties}
*/
public final class StreamProperties extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bookkeeper.proto.stream.StreamProperties)
StreamPropertiesOrBuilder {
private static final long serialVersionUID = 0L;
// Use StreamProperties.newBuilder() to construct.
private StreamProperties(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StreamProperties() {
streamName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StreamProperties();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_StreamProperties_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_StreamProperties_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.bookkeeper.stream.proto.StreamProperties.class, org.apache.bookkeeper.stream.proto.StreamProperties.Builder.class);
}
public static final int STREAM_ID_FIELD_NUMBER = 1;
private long streamId_ = 0L;
/**
* int64 stream_id = 1;
* @return The streamId.
*/
@java.lang.Override
public long getStreamId() {
return streamId_;
}
public static final int STORAGE_CONTAINER_ID_FIELD_NUMBER = 2;
private long storageContainerId_ = 0L;
/**
* int64 storage_container_id = 2;
* @return The storageContainerId.
*/
@java.lang.Override
public long getStorageContainerId() {
return storageContainerId_;
}
public static final int STREAM_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object streamName_ = "";
/**
* string stream_name = 3;
* @return The streamName.
*/
@java.lang.Override
public java.lang.String getStreamName() {
java.lang.Object ref = streamName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
streamName_ = s;
return s;
}
}
/**
* string stream_name = 3;
* @return The bytes for streamName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStreamNameBytes() {
java.lang.Object ref = streamName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
streamName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STREAM_CONF_FIELD_NUMBER = 4;
private org.apache.bookkeeper.stream.proto.StreamConfiguration streamConf_;
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
* @return Whether the streamConf field is set.
*/
@java.lang.Override
public boolean hasStreamConf() {
return streamConf_ != null;
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
* @return The streamConf.
*/
@java.lang.Override
public org.apache.bookkeeper.stream.proto.StreamConfiguration getStreamConf() {
return streamConf_ == null ? org.apache.bookkeeper.stream.proto.StreamConfiguration.getDefaultInstance() : streamConf_;
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
@java.lang.Override
public org.apache.bookkeeper.stream.proto.StreamConfigurationOrBuilder getStreamConfOrBuilder() {
return streamConf_ == null ? org.apache.bookkeeper.stream.proto.StreamConfiguration.getDefaultInstance() : streamConf_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (streamId_ != 0L) {
output.writeInt64(1, streamId_);
}
if (storageContainerId_ != 0L) {
output.writeInt64(2, storageContainerId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamName_);
}
if (streamConf_ != null) {
output.writeMessage(4, getStreamConf());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (streamId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, streamId_);
}
if (storageContainerId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, storageContainerId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamName_);
}
if (streamConf_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getStreamConf());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.bookkeeper.stream.proto.StreamProperties)) {
return super.equals(obj);
}
org.apache.bookkeeper.stream.proto.StreamProperties other = (org.apache.bookkeeper.stream.proto.StreamProperties) obj;
if (getStreamId()
!= other.getStreamId()) return false;
if (getStorageContainerId()
!= other.getStorageContainerId()) return false;
if (!getStreamName()
.equals(other.getStreamName())) return false;
if (hasStreamConf() != other.hasStreamConf()) return false;
if (hasStreamConf()) {
if (!getStreamConf()
.equals(other.getStreamConf())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STREAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStreamId());
hash = (37 * hash) + STORAGE_CONTAINER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStorageContainerId());
hash = (37 * hash) + STREAM_NAME_FIELD_NUMBER;
hash = (53 * hash) + getStreamName().hashCode();
if (hasStreamConf()) {
hash = (37 * hash) + STREAM_CONF_FIELD_NUMBER;
hash = (53 * hash) + getStreamConf().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.bookkeeper.stream.proto.StreamProperties parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.bookkeeper.stream.proto.StreamProperties prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code bookkeeper.proto.stream.StreamProperties}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bookkeeper.proto.stream.StreamProperties)
org.apache.bookkeeper.stream.proto.StreamPropertiesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_StreamProperties_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_StreamProperties_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.bookkeeper.stream.proto.StreamProperties.class, org.apache.bookkeeper.stream.proto.StreamProperties.Builder.class);
}
// Construct using org.apache.bookkeeper.stream.proto.StreamProperties.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
streamId_ = 0L;
storageContainerId_ = 0L;
streamName_ = "";
streamConf_ = null;
if (streamConfBuilder_ != null) {
streamConfBuilder_.dispose();
streamConfBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.bookkeeper.stream.proto.Stream.internal_static_bookkeeper_proto_stream_StreamProperties_descriptor;
}
@java.lang.Override
public org.apache.bookkeeper.stream.proto.StreamProperties getDefaultInstanceForType() {
return org.apache.bookkeeper.stream.proto.StreamProperties.getDefaultInstance();
}
@java.lang.Override
public org.apache.bookkeeper.stream.proto.StreamProperties build() {
org.apache.bookkeeper.stream.proto.StreamProperties result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.bookkeeper.stream.proto.StreamProperties buildPartial() {
org.apache.bookkeeper.stream.proto.StreamProperties result = new org.apache.bookkeeper.stream.proto.StreamProperties(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.bookkeeper.stream.proto.StreamProperties result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.streamId_ = streamId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.storageContainerId_ = storageContainerId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.streamName_ = streamName_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.streamConf_ = streamConfBuilder_ == null
? streamConf_
: streamConfBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.bookkeeper.stream.proto.StreamProperties) {
return mergeFrom((org.apache.bookkeeper.stream.proto.StreamProperties)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.bookkeeper.stream.proto.StreamProperties other) {
if (other == org.apache.bookkeeper.stream.proto.StreamProperties.getDefaultInstance()) return this;
if (other.getStreamId() != 0L) {
setStreamId(other.getStreamId());
}
if (other.getStorageContainerId() != 0L) {
setStorageContainerId(other.getStorageContainerId());
}
if (!other.getStreamName().isEmpty()) {
streamName_ = other.streamName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasStreamConf()) {
mergeStreamConf(other.getStreamConf());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
streamId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
storageContainerId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
streamName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getStreamConfFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long streamId_ ;
/**
* int64 stream_id = 1;
* @return The streamId.
*/
@java.lang.Override
public long getStreamId() {
return streamId_;
}
/**
* int64 stream_id = 1;
* @param value The streamId to set.
* @return This builder for chaining.
*/
public Builder setStreamId(long value) {
streamId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 stream_id = 1;
* @return This builder for chaining.
*/
public Builder clearStreamId() {
bitField0_ = (bitField0_ & ~0x00000001);
streamId_ = 0L;
onChanged();
return this;
}
private long storageContainerId_ ;
/**
* int64 storage_container_id = 2;
* @return The storageContainerId.
*/
@java.lang.Override
public long getStorageContainerId() {
return storageContainerId_;
}
/**
* int64 storage_container_id = 2;
* @param value The storageContainerId to set.
* @return This builder for chaining.
*/
public Builder setStorageContainerId(long value) {
storageContainerId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int64 storage_container_id = 2;
* @return This builder for chaining.
*/
public Builder clearStorageContainerId() {
bitField0_ = (bitField0_ & ~0x00000002);
storageContainerId_ = 0L;
onChanged();
return this;
}
private java.lang.Object streamName_ = "";
/**
* string stream_name = 3;
* @return The streamName.
*/
public java.lang.String getStreamName() {
java.lang.Object ref = streamName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
streamName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string stream_name = 3;
* @return The bytes for streamName.
*/
public com.google.protobuf.ByteString
getStreamNameBytes() {
java.lang.Object ref = streamName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
streamName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string stream_name = 3;
* @param value The streamName to set.
* @return This builder for chaining.
*/
public Builder setStreamName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
streamName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string stream_name = 3;
* @return This builder for chaining.
*/
public Builder clearStreamName() {
streamName_ = getDefaultInstance().getStreamName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string stream_name = 3;
* @param value The bytes for streamName to set.
* @return This builder for chaining.
*/
public Builder setStreamNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
streamName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private org.apache.bookkeeper.stream.proto.StreamConfiguration streamConf_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.bookkeeper.stream.proto.StreamConfiguration, org.apache.bookkeeper.stream.proto.StreamConfiguration.Builder, org.apache.bookkeeper.stream.proto.StreamConfigurationOrBuilder> streamConfBuilder_;
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
* @return Whether the streamConf field is set.
*/
public boolean hasStreamConf() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
* @return The streamConf.
*/
public org.apache.bookkeeper.stream.proto.StreamConfiguration getStreamConf() {
if (streamConfBuilder_ == null) {
return streamConf_ == null ? org.apache.bookkeeper.stream.proto.StreamConfiguration.getDefaultInstance() : streamConf_;
} else {
return streamConfBuilder_.getMessage();
}
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
public Builder setStreamConf(org.apache.bookkeeper.stream.proto.StreamConfiguration value) {
if (streamConfBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
streamConf_ = value;
} else {
streamConfBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
public Builder setStreamConf(
org.apache.bookkeeper.stream.proto.StreamConfiguration.Builder builderForValue) {
if (streamConfBuilder_ == null) {
streamConf_ = builderForValue.build();
} else {
streamConfBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
public Builder mergeStreamConf(org.apache.bookkeeper.stream.proto.StreamConfiguration value) {
if (streamConfBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
streamConf_ != null &&
streamConf_ != org.apache.bookkeeper.stream.proto.StreamConfiguration.getDefaultInstance()) {
getStreamConfBuilder().mergeFrom(value);
} else {
streamConf_ = value;
}
} else {
streamConfBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
public Builder clearStreamConf() {
bitField0_ = (bitField0_ & ~0x00000008);
streamConf_ = null;
if (streamConfBuilder_ != null) {
streamConfBuilder_.dispose();
streamConfBuilder_ = null;
}
onChanged();
return this;
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
public org.apache.bookkeeper.stream.proto.StreamConfiguration.Builder getStreamConfBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getStreamConfFieldBuilder().getBuilder();
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
public org.apache.bookkeeper.stream.proto.StreamConfigurationOrBuilder getStreamConfOrBuilder() {
if (streamConfBuilder_ != null) {
return streamConfBuilder_.getMessageOrBuilder();
} else {
return streamConf_ == null ?
org.apache.bookkeeper.stream.proto.StreamConfiguration.getDefaultInstance() : streamConf_;
}
}
/**
* .bookkeeper.proto.stream.StreamConfiguration stream_conf = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.bookkeeper.stream.proto.StreamConfiguration, org.apache.bookkeeper.stream.proto.StreamConfiguration.Builder, org.apache.bookkeeper.stream.proto.StreamConfigurationOrBuilder>
getStreamConfFieldBuilder() {
if (streamConfBuilder_ == null) {
streamConfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.bookkeeper.stream.proto.StreamConfiguration, org.apache.bookkeeper.stream.proto.StreamConfiguration.Builder, org.apache.bookkeeper.stream.proto.StreamConfigurationOrBuilder>(
getStreamConf(),
getParentForChildren(),
isClean());
streamConf_ = null;
}
return streamConfBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bookkeeper.proto.stream.StreamProperties)
}
// @@protoc_insertion_point(class_scope:bookkeeper.proto.stream.StreamProperties)
private static final org.apache.bookkeeper.stream.proto.StreamProperties DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.bookkeeper.stream.proto.StreamProperties();
}
public static org.apache.bookkeeper.stream.proto.StreamProperties getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StreamProperties parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.bookkeeper.stream.proto.StreamProperties getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}