Class LeaderControllerGrpcResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder>
com.linkedin.venice.protocols.controller.LeaderControllerGrpcResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LeaderControllerGrpcResponseOrBuilder, Cloneable
Enclosing class:
LeaderControllerGrpcResponse

public static final class LeaderControllerGrpcResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LeaderControllerGrpcResponse.Builder> implements LeaderControllerGrpcResponseOrBuilder
Protobuf type com.linkedin.venice.protocols.controller.LeaderControllerGrpcResponse
  • 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<LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LeaderControllerGrpcResponse 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<LeaderControllerGrpcResponse.Builder>
    • setField

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • clearField

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • clearOneof

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • setRepeatedField

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • addRepeatedField

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • mergeFrom

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • mergeFrom

      public LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
      Throws:
      IOException
    • getClusterName

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

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

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

      public LeaderControllerGrpcResponse.Builder clearClusterName()
       The cluster name
       
      string clusterName = 1;
      Returns:
      This builder for chaining.
    • setClusterNameBytes

      public LeaderControllerGrpcResponse.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
       The cluster name
       
      string clusterName = 1;
      Parameters:
      value - The bytes for clusterName to set.
      Returns:
      This builder for chaining.
    • getHttpUrl

      public String getHttpUrl()
       Leader controller URL
       
      string httpUrl = 2;
      Specified by:
      getHttpUrl in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The httpUrl.
    • getHttpUrlBytes

      public com.google.protobuf.ByteString getHttpUrlBytes()
       Leader controller URL
       
      string httpUrl = 2;
      Specified by:
      getHttpUrlBytes in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The bytes for httpUrl.
    • setHttpUrl

      public LeaderControllerGrpcResponse.Builder setHttpUrl(String value)
       Leader controller URL
       
      string httpUrl = 2;
      Parameters:
      value - The httpUrl to set.
      Returns:
      This builder for chaining.
    • clearHttpUrl

      public LeaderControllerGrpcResponse.Builder clearHttpUrl()
       Leader controller URL
       
      string httpUrl = 2;
      Returns:
      This builder for chaining.
    • setHttpUrlBytes

      public LeaderControllerGrpcResponse.Builder setHttpUrlBytes(com.google.protobuf.ByteString value)
       Leader controller URL
       
      string httpUrl = 2;
      Parameters:
      value - The bytes for httpUrl to set.
      Returns:
      This builder for chaining.
    • getHttpsUrl

      public String getHttpsUrl()
       SSL-enabled leader controller URL
       
      string httpsUrl = 3;
      Specified by:
      getHttpsUrl in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The httpsUrl.
    • getHttpsUrlBytes

      public com.google.protobuf.ByteString getHttpsUrlBytes()
       SSL-enabled leader controller URL
       
      string httpsUrl = 3;
      Specified by:
      getHttpsUrlBytes in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The bytes for httpsUrl.
    • setHttpsUrl

      public LeaderControllerGrpcResponse.Builder setHttpsUrl(String value)
       SSL-enabled leader controller URL
       
      string httpsUrl = 3;
      Parameters:
      value - The httpsUrl to set.
      Returns:
      This builder for chaining.
    • clearHttpsUrl

      public LeaderControllerGrpcResponse.Builder clearHttpsUrl()
       SSL-enabled leader controller URL
       
      string httpsUrl = 3;
      Returns:
      This builder for chaining.
    • setHttpsUrlBytes

      public LeaderControllerGrpcResponse.Builder setHttpsUrlBytes(com.google.protobuf.ByteString value)
       SSL-enabled leader controller URL
       
      string httpsUrl = 3;
      Parameters:
      value - The bytes for httpsUrl to set.
      Returns:
      This builder for chaining.
    • getGrpcUrl

      public String getGrpcUrl()
       gRPC URL for leader controller
       
      string grpcUrl = 4;
      Specified by:
      getGrpcUrl in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The grpcUrl.
    • getGrpcUrlBytes

      public com.google.protobuf.ByteString getGrpcUrlBytes()
       gRPC URL for leader controller
       
      string grpcUrl = 4;
      Specified by:
      getGrpcUrlBytes in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The bytes for grpcUrl.
    • setGrpcUrl

      public LeaderControllerGrpcResponse.Builder setGrpcUrl(String value)
       gRPC URL for leader controller
       
      string grpcUrl = 4;
      Parameters:
      value - The grpcUrl to set.
      Returns:
      This builder for chaining.
    • clearGrpcUrl

      public LeaderControllerGrpcResponse.Builder clearGrpcUrl()
       gRPC URL for leader controller
       
      string grpcUrl = 4;
      Returns:
      This builder for chaining.
    • setGrpcUrlBytes

      public LeaderControllerGrpcResponse.Builder setGrpcUrlBytes(com.google.protobuf.ByteString value)
       gRPC URL for leader controller
       
      string grpcUrl = 4;
      Parameters:
      value - The bytes for grpcUrl to set.
      Returns:
      This builder for chaining.
    • getSecureGrpcUrl

      public String getSecureGrpcUrl()
       Secure gRPC URL for leader controller
       
      string secureGrpcUrl = 5;
      Specified by:
      getSecureGrpcUrl in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The secureGrpcUrl.
    • getSecureGrpcUrlBytes

      public com.google.protobuf.ByteString getSecureGrpcUrlBytes()
       Secure gRPC URL for leader controller
       
      string secureGrpcUrl = 5;
      Specified by:
      getSecureGrpcUrlBytes in interface LeaderControllerGrpcResponseOrBuilder
      Returns:
      The bytes for secureGrpcUrl.
    • setSecureGrpcUrl

      public LeaderControllerGrpcResponse.Builder setSecureGrpcUrl(String value)
       Secure gRPC URL for leader controller
       
      string secureGrpcUrl = 5;
      Parameters:
      value - The secureGrpcUrl to set.
      Returns:
      This builder for chaining.
    • clearSecureGrpcUrl

      public LeaderControllerGrpcResponse.Builder clearSecureGrpcUrl()
       Secure gRPC URL for leader controller
       
      string secureGrpcUrl = 5;
      Returns:
      This builder for chaining.
    • setSecureGrpcUrlBytes

      public LeaderControllerGrpcResponse.Builder setSecureGrpcUrlBytes(com.google.protobuf.ByteString value)
       Secure gRPC URL for leader controller
       
      string secureGrpcUrl = 5;
      Parameters:
      value - The bytes for secureGrpcUrl to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>
    • mergeUnknownFields

      public final LeaderControllerGrpcResponse.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<LeaderControllerGrpcResponse.Builder>