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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • getDefaultInstanceForType

      public AdminTopicGrpcMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AdminTopicGrpcMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AdminTopicGrpcMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • setField

      public AdminTopicGrpcMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • clearField

      public AdminTopicGrpcMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • clearOneof

      public AdminTopicGrpcMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • addRepeatedField

      public AdminTopicGrpcMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • mergeFrom

      public AdminTopicGrpcMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdminTopicGrpcMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdminTopicGrpcMetadata.Builder>
      Throws:
      IOException
    • getClusterName

      public String getClusterName()
      string clusterName = 1;
      Specified by:
      getClusterName in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The clusterName.
    • getClusterNameBytes

      public com.google.protobuf.ByteString getClusterNameBytes()
      string clusterName = 1;
      Specified by:
      getClusterNameBytes in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The bytes for clusterName.
    • setClusterName

      public AdminTopicGrpcMetadata.Builder setClusterName(String value)
      string clusterName = 1;
      Parameters:
      value - The clusterName to set.
      Returns:
      This builder for chaining.
    • clearClusterName

      public AdminTopicGrpcMetadata.Builder clearClusterName()
      string clusterName = 1;
      Returns:
      This builder for chaining.
    • setClusterNameBytes

      public AdminTopicGrpcMetadata.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
      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 interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The executionId.
    • setExecutionId

      public AdminTopicGrpcMetadata.Builder setExecutionId(long value)
      int64 executionId = 2;
      Parameters:
      value - The executionId to set.
      Returns:
      This builder for chaining.
    • clearExecutionId

      public AdminTopicGrpcMetadata.Builder clearExecutionId()
      int64 executionId = 2;
      Returns:
      This builder for chaining.
    • hasStoreName

      public boolean hasStoreName()
      optional string storeName = 3;
      Specified by:
      hasStoreName in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      Whether the storeName field is set.
    • getStoreName

      public String getStoreName()
      optional string storeName = 3;
      Specified by:
      getStoreName in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The storeName.
    • getStoreNameBytes

      public com.google.protobuf.ByteString getStoreNameBytes()
      optional string storeName = 3;
      Specified by:
      getStoreNameBytes in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The bytes for storeName.
    • setStoreName

      public AdminTopicGrpcMetadata.Builder setStoreName(String value)
      optional string storeName = 3;
      Parameters:
      value - The storeName to set.
      Returns:
      This builder for chaining.
    • clearStoreName

      public AdminTopicGrpcMetadata.Builder clearStoreName()
      optional string storeName = 3;
      Returns:
      This builder for chaining.
    • setStoreNameBytes

      public AdminTopicGrpcMetadata.Builder setStoreNameBytes(com.google.protobuf.ByteString value)
      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 interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      Whether the offset field is set.
    • getOffset

      public long getOffset()
      optional int64 offset = 4;
      Specified by:
      getOffset in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The offset.
    • setOffset

      public AdminTopicGrpcMetadata.Builder setOffset(long value)
      optional int64 offset = 4;
      Parameters:
      value - The offset to set.
      Returns:
      This builder for chaining.
    • clearOffset

      public AdminTopicGrpcMetadata.Builder clearOffset()
      optional int64 offset = 4;
      Returns:
      This builder for chaining.
    • hasUpstreamOffset

      public boolean hasUpstreamOffset()
      optional int64 upstreamOffset = 5;
      Specified by:
      hasUpstreamOffset in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      Whether the upstreamOffset field is set.
    • getUpstreamOffset

      public long getUpstreamOffset()
      optional int64 upstreamOffset = 5;
      Specified by:
      getUpstreamOffset in interface AdminTopicGrpcMetadataOrBuilder
      Returns:
      The upstreamOffset.
    • setUpstreamOffset

      public AdminTopicGrpcMetadata.Builder setUpstreamOffset(long value)
      optional int64 upstreamOffset = 5;
      Parameters:
      value - The upstreamOffset to set.
      Returns:
      This builder for chaining.
    • clearUpstreamOffset

      public AdminTopicGrpcMetadata.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>
    • mergeUnknownFields

      public final AdminTopicGrpcMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdminTopicGrpcMetadata.Builder>