Class ProxyProto.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ProxyProto.Builder>
com.google.protobuf.GeneratedMessage.Builder<ProxyProto.Builder>
com.soulfiremc.grpc.generated.ProxyProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ProxyProtoOrBuilder, Cloneable
Enclosing class:
ProxyProto

public static final class ProxyProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProxyProto.Builder> implements ProxyProtoOrBuilder
Protobuf type soulfire.v1.ProxyProto
  • Method Details

    • getDescriptor

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

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

      public ProxyProto.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.GeneratedMessage.Builder<ProxyProto.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.GeneratedMessage.Builder<ProxyProto.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ProxyProto.Builder mergeFrom(ProxyProto other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProxyProto.Builder>
    • mergeFrom

      public ProxyProto.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<ProxyProto.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
      .soulfire.v1.ProxyProto.Type type = 1;
      Specified by:
      getTypeValue in interface ProxyProtoOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public ProxyProto.Builder setTypeValue(int value)
      .soulfire.v1.ProxyProto.Type type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public ProxyProto.Type getType()
      .soulfire.v1.ProxyProto.Type type = 1;
      Specified by:
      getType in interface ProxyProtoOrBuilder
      Returns:
      The type.
    • setType

      public ProxyProto.Builder setType(ProxyProto.Type value)
      .soulfire.v1.ProxyProto.Type type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public ProxyProto.Builder clearType()
      .soulfire.v1.ProxyProto.Type type = 1;
      Returns:
      This builder for chaining.
    • getAddress

      public String getAddress()
      string address = 2;
      Specified by:
      getAddress in interface ProxyProtoOrBuilder
      Returns:
      The address.
    • getAddressBytes

      public com.google.protobuf.ByteString getAddressBytes()
      string address = 2;
      Specified by:
      getAddressBytes in interface ProxyProtoOrBuilder
      Returns:
      The bytes for address.
    • setAddress

      public ProxyProto.Builder setAddress(String value)
      string address = 2;
      Parameters:
      value - The address to set.
      Returns:
      This builder for chaining.
    • clearAddress

      public ProxyProto.Builder clearAddress()
      string address = 2;
      Returns:
      This builder for chaining.
    • setAddressBytes

      public ProxyProto.Builder setAddressBytes(com.google.protobuf.ByteString value)
      string address = 2;
      Parameters:
      value - The bytes for address to set.
      Returns:
      This builder for chaining.
    • hasUsername

      public boolean hasUsername()
      optional string username = 3;
      Specified by:
      hasUsername in interface ProxyProtoOrBuilder
      Returns:
      Whether the username field is set.
    • getUsername

      public String getUsername()
      optional string username = 3;
      Specified by:
      getUsername in interface ProxyProtoOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
      optional string username = 3;
      Specified by:
      getUsernameBytes in interface ProxyProtoOrBuilder
      Returns:
      The bytes for username.
    • setUsername

      public ProxyProto.Builder setUsername(String value)
      optional string username = 3;
      Parameters:
      value - The username to set.
      Returns:
      This builder for chaining.
    • clearUsername

      public ProxyProto.Builder clearUsername()
      optional string username = 3;
      Returns:
      This builder for chaining.
    • setUsernameBytes

      public ProxyProto.Builder setUsernameBytes(com.google.protobuf.ByteString value)
      optional string username = 3;
      Parameters:
      value - The bytes for username to set.
      Returns:
      This builder for chaining.
    • hasPassword

      public boolean hasPassword()
      optional string password = 4;
      Specified by:
      hasPassword in interface ProxyProtoOrBuilder
      Returns:
      Whether the password field is set.
    • getPassword

      public String getPassword()
      optional string password = 4;
      Specified by:
      getPassword in interface ProxyProtoOrBuilder
      Returns:
      The password.
    • getPasswordBytes

      public com.google.protobuf.ByteString getPasswordBytes()
      optional string password = 4;
      Specified by:
      getPasswordBytes in interface ProxyProtoOrBuilder
      Returns:
      The bytes for password.
    • setPassword

      public ProxyProto.Builder setPassword(String value)
      optional string password = 4;
      Parameters:
      value - The password to set.
      Returns:
      This builder for chaining.
    • clearPassword

      public ProxyProto.Builder clearPassword()
      optional string password = 4;
      Returns:
      This builder for chaining.
    • setPasswordBytes

      public ProxyProto.Builder setPasswordBytes(com.google.protobuf.ByteString value)
      optional string password = 4;
      Parameters:
      value - The bytes for password to set.
      Returns:
      This builder for chaining.