Class AdminTopicGrpcMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
com.linkedin.venice.protocols.controller.AdminTopicGrpcMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AdminTopicGrpcMetadataOrBuilder
,Cloneable
- Enclosing class:
- AdminTopicGrpcMetadata
public static final class AdminTopicGrpcMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
implements AdminTopicGrpcMetadataOrBuilder
Protobuf type
com.linkedin.venice.protocols.controller.AdminTopicGrpcMetadata
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string clusterName = 1;
int64 executionId = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional int64 offset = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string storeName = 3;
optional int64 upstreamOffset = 5;
clone()
string clusterName = 1;
com.google.protobuf.ByteString
string clusterName = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 executionId = 2;
long
optional int64 offset = 4;
optional string storeName = 3;
com.google.protobuf.ByteString
optional string storeName = 3;
long
optional int64 upstreamOffset = 5;
boolean
optional int64 offset = 4;
boolean
optional string storeName = 3;
boolean
optional int64 upstreamOffset = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(AdminTopicGrpcMetadata other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setClusterName
(String value) string clusterName = 1;
setClusterNameBytes
(com.google.protobuf.ByteString value) string clusterName = 1;
setExecutionId
(long value) int64 executionId = 2;
setOffset
(long value) optional int64 offset = 4;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStoreName
(String value) optional string storeName = 3;
setStoreNameBytes
(com.google.protobuf.ByteString value) optional string storeName = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUpstreamOffset
(long value) optional int64 upstreamOffset = 5;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
setField
public AdminTopicGrpcMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
clearField
public AdminTopicGrpcMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
clearOneof
public AdminTopicGrpcMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
setRepeatedField
public AdminTopicGrpcMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
addRepeatedField
public AdminTopicGrpcMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdminTopicGrpcMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
mergeFrom
public AdminTopicGrpcMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdminTopicGrpcMetadata.Builder>
- Throws:
IOException
-
getClusterName
string clusterName = 1;
- Specified by:
getClusterName
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()string clusterName = 1;
- Specified by:
getClusterNameBytes
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The bytes for clusterName.
-
setClusterName
string clusterName = 1;
- Parameters:
value
- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
string clusterName = 1;
- Returns:
- This builder for chaining.
-
setClusterNameBytes
string clusterName = 1;
- Parameters:
value
- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getExecutionId
public long getExecutionId()int64 executionId = 2;
- Specified by:
getExecutionId
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The executionId.
-
setExecutionId
int64 executionId = 2;
- Parameters:
value
- The executionId to set.- Returns:
- This builder for chaining.
-
clearExecutionId
int64 executionId = 2;
- Returns:
- This builder for chaining.
-
hasStoreName
public boolean hasStoreName()optional string storeName = 3;
- Specified by:
hasStoreName
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- Whether the storeName field is set.
-
getStoreName
optional string storeName = 3;
- Specified by:
getStoreName
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()optional string storeName = 3;
- Specified by:
getStoreNameBytes
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The bytes for storeName.
-
setStoreName
optional string storeName = 3;
- Parameters:
value
- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
optional string storeName = 3;
- Returns:
- This builder for chaining.
-
setStoreNameBytes
optional string storeName = 3;
- Parameters:
value
- The bytes for storeName to set.- Returns:
- This builder for chaining.
-
hasOffset
public boolean hasOffset()optional int64 offset = 4;
- Specified by:
hasOffset
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- Whether the offset field is set.
-
getOffset
public long getOffset()optional int64 offset = 4;
- Specified by:
getOffset
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The offset.
-
setOffset
optional int64 offset = 4;
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
optional int64 offset = 4;
- Returns:
- This builder for chaining.
-
hasUpstreamOffset
public boolean hasUpstreamOffset()optional int64 upstreamOffset = 5;
- Specified by:
hasUpstreamOffset
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- Whether the upstreamOffset field is set.
-
getUpstreamOffset
public long getUpstreamOffset()optional int64 upstreamOffset = 5;
- Specified by:
getUpstreamOffset
in interfaceAdminTopicGrpcMetadataOrBuilder
- Returns:
- The upstreamOffset.
-
setUpstreamOffset
optional int64 upstreamOffset = 5;
- Parameters:
value
- The upstreamOffset to set.- Returns:
- This builder for chaining.
-
clearUpstreamOffset
optional int64 upstreamOffset = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdminTopicGrpcMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-
mergeUnknownFields
public final AdminTopicGrpcMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
-