Class StartClientHandshakeReq.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StartClientHandshakeReq.Builder>
com.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder>
io.grpc.alts.internal.StartClientHandshakeReq.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StartClientHandshakeReqOrBuilder, Cloneable
Enclosing class:
StartClientHandshakeReq

public static final class StartClientHandshakeReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<StartClientHandshakeReq.Builder> implements StartClientHandshakeReqOrBuilder
Protobuf type grpc.gcp.StartClientHandshakeReq
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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<StartClientHandshakeReq.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • 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<StartClientHandshakeReq.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<StartClientHandshakeReq.Builder>
    • getDefaultInstanceForType

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

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

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

      private void buildPartialRepeatedFields(StartClientHandshakeReq result)
    • buildPartial0

      private void buildPartial0(StartClientHandshakeReq result)
    • mergeFrom

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

    • isInitialized

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

      public StartClientHandshakeReq.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<StartClientHandshakeReq.Builder>
      Throws:
      IOException
    • getHandshakeSecurityProtocolValue

      public int getHandshakeSecurityProtocolValue()
       Handshake security protocol requested by the client.
       
      .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
      Specified by:
      getHandshakeSecurityProtocolValue in interface StartClientHandshakeReqOrBuilder
      Returns:
      The enum numeric value on the wire for handshakeSecurityProtocol.
    • setHandshakeSecurityProtocolValue

      public StartClientHandshakeReq.Builder setHandshakeSecurityProtocolValue(int value)
       Handshake security protocol requested by the client.
       
      .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
      Parameters:
      value - The enum numeric value on the wire for handshakeSecurityProtocol to set.
      Returns:
      This builder for chaining.
    • getHandshakeSecurityProtocol

      public HandshakeProtocol getHandshakeSecurityProtocol()
       Handshake security protocol requested by the client.
       
      .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
      Specified by:
      getHandshakeSecurityProtocol in interface StartClientHandshakeReqOrBuilder
      Returns:
      The handshakeSecurityProtocol.
    • setHandshakeSecurityProtocol

      public StartClientHandshakeReq.Builder setHandshakeSecurityProtocol(HandshakeProtocol value)
       Handshake security protocol requested by the client.
       
      .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
      Parameters:
      value - The handshakeSecurityProtocol to set.
      Returns:
      This builder for chaining.
    • clearHandshakeSecurityProtocol

      public StartClientHandshakeReq.Builder clearHandshakeSecurityProtocol()
       Handshake security protocol requested by the client.
       
      .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
      Returns:
      This builder for chaining.
    • ensureApplicationProtocolsIsMutable

      private void ensureApplicationProtocolsIsMutable()
    • getApplicationProtocolsList

      public com.google.protobuf.ProtocolStringList getApplicationProtocolsList()
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Specified by:
      getApplicationProtocolsList in interface StartClientHandshakeReqOrBuilder
      Returns:
      A list containing the applicationProtocols.
    • getApplicationProtocolsCount

      public int getApplicationProtocolsCount()
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Specified by:
      getApplicationProtocolsCount in interface StartClientHandshakeReqOrBuilder
      Returns:
      The count of applicationProtocols.
    • getApplicationProtocols

      public String getApplicationProtocols(int index)
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Specified by:
      getApplicationProtocols in interface StartClientHandshakeReqOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The applicationProtocols at the given index.
    • getApplicationProtocolsBytes

      public com.google.protobuf.ByteString getApplicationProtocolsBytes(int index)
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Specified by:
      getApplicationProtocolsBytes in interface StartClientHandshakeReqOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the applicationProtocols at the given index.
    • setApplicationProtocols

      public StartClientHandshakeReq.Builder setApplicationProtocols(int index, String value)
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Parameters:
      index - The index to set the value at.
      value - The applicationProtocols to set.
      Returns:
      This builder for chaining.
    • addApplicationProtocols

      public StartClientHandshakeReq.Builder addApplicationProtocols(String value)
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Parameters:
      value - The applicationProtocols to add.
      Returns:
      This builder for chaining.
    • addAllApplicationProtocols

      public StartClientHandshakeReq.Builder addAllApplicationProtocols(Iterable<String> values)
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Parameters:
      values - The applicationProtocols to add.
      Returns:
      This builder for chaining.
    • clearApplicationProtocols

      public StartClientHandshakeReq.Builder clearApplicationProtocols()
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Returns:
      This builder for chaining.
    • addApplicationProtocolsBytes

      public StartClientHandshakeReq.Builder addApplicationProtocolsBytes(com.google.protobuf.ByteString value)
       The application protocols supported by the client, e.g., "h2" (for http2),
       "grpc".
       
      repeated string application_protocols = 2;
      Parameters:
      value - The bytes of the applicationProtocols to add.
      Returns:
      This builder for chaining.
    • ensureRecordProtocolsIsMutable

      private void ensureRecordProtocolsIsMutable()
    • getRecordProtocolsList

      public com.google.protobuf.ProtocolStringList getRecordProtocolsList()
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Specified by:
      getRecordProtocolsList in interface StartClientHandshakeReqOrBuilder
      Returns:
      A list containing the recordProtocols.
    • getRecordProtocolsCount

      public int getRecordProtocolsCount()
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Specified by:
      getRecordProtocolsCount in interface StartClientHandshakeReqOrBuilder
      Returns:
      The count of recordProtocols.
    • getRecordProtocols

      public String getRecordProtocols(int index)
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Specified by:
      getRecordProtocols in interface StartClientHandshakeReqOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The recordProtocols at the given index.
    • getRecordProtocolsBytes

      public com.google.protobuf.ByteString getRecordProtocolsBytes(int index)
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Specified by:
      getRecordProtocolsBytes in interface StartClientHandshakeReqOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the recordProtocols at the given index.
    • setRecordProtocols

      public StartClientHandshakeReq.Builder setRecordProtocols(int index, String value)
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Parameters:
      index - The index to set the value at.
      value - The recordProtocols to set.
      Returns:
      This builder for chaining.
    • addRecordProtocols

      public StartClientHandshakeReq.Builder addRecordProtocols(String value)
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Parameters:
      value - The recordProtocols to add.
      Returns:
      This builder for chaining.
    • addAllRecordProtocols

      public StartClientHandshakeReq.Builder addAllRecordProtocols(Iterable<String> values)
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Parameters:
      values - The recordProtocols to add.
      Returns:
      This builder for chaining.
    • clearRecordProtocols

      public StartClientHandshakeReq.Builder clearRecordProtocols()
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Returns:
      This builder for chaining.
    • addRecordProtocolsBytes

      public StartClientHandshakeReq.Builder addRecordProtocolsBytes(com.google.protobuf.ByteString value)
       The record protocols supported by the client, e.g.,
       "ALTSRP_GCM_AES128".
       
      repeated string record_protocols = 3;
      Parameters:
      value - The bytes of the recordProtocols to add.
      Returns:
      This builder for chaining.
    • ensureTargetIdentitiesIsMutable

      private void ensureTargetIdentitiesIsMutable()
    • getTargetIdentitiesList

      public List<Identity> getTargetIdentitiesList()
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
      Specified by:
      getTargetIdentitiesList in interface StartClientHandshakeReqOrBuilder
    • getTargetIdentitiesCount

      public int getTargetIdentitiesCount()
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
      Specified by:
      getTargetIdentitiesCount in interface StartClientHandshakeReqOrBuilder
    • getTargetIdentities

      public Identity getTargetIdentities(int index)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
      Specified by:
      getTargetIdentities in interface StartClientHandshakeReqOrBuilder
    • setTargetIdentities

      public StartClientHandshakeReq.Builder setTargetIdentities(int index, Identity value)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • setTargetIdentities

      public StartClientHandshakeReq.Builder setTargetIdentities(int index, Identity.Builder builderForValue)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • addTargetIdentities

      public StartClientHandshakeReq.Builder addTargetIdentities(Identity value)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • addTargetIdentities

      public StartClientHandshakeReq.Builder addTargetIdentities(int index, Identity value)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • addTargetIdentities

      public StartClientHandshakeReq.Builder addTargetIdentities(Identity.Builder builderForValue)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • addTargetIdentities

      public StartClientHandshakeReq.Builder addTargetIdentities(int index, Identity.Builder builderForValue)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • addAllTargetIdentities

      public StartClientHandshakeReq.Builder addAllTargetIdentities(Iterable<? extends Identity> values)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • clearTargetIdentities

      public StartClientHandshakeReq.Builder clearTargetIdentities()
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • removeTargetIdentities

      public StartClientHandshakeReq.Builder removeTargetIdentities(int index)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • getTargetIdentitiesBuilder

      public Identity.Builder getTargetIdentitiesBuilder(int index)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • getTargetIdentitiesOrBuilder

      public IdentityOrBuilder getTargetIdentitiesOrBuilder(int index)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
      Specified by:
      getTargetIdentitiesOrBuilder in interface StartClientHandshakeReqOrBuilder
    • getTargetIdentitiesOrBuilderList

      public List<? extends IdentityOrBuilder> getTargetIdentitiesOrBuilderList()
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
      Specified by:
      getTargetIdentitiesOrBuilderList in interface StartClientHandshakeReqOrBuilder
    • addTargetIdentitiesBuilder

      public Identity.Builder addTargetIdentitiesBuilder()
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • addTargetIdentitiesBuilder

      public Identity.Builder addTargetIdentitiesBuilder(int index)
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • getTargetIdentitiesBuilderList

      public List<Identity.Builder> getTargetIdentitiesBuilderList()
       (Optional) Describes which server identities are acceptable by the client.
       If target identities are provided and none of them matches the peer
       identity of the server, handshake will fail.
       
      repeated .grpc.gcp.Identity target_identities = 4;
    • getTargetIdentitiesFieldBuilder

      private com.google.protobuf.RepeatedFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> getTargetIdentitiesFieldBuilder()
    • hasLocalIdentity

      public boolean hasLocalIdentity()
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
      Specified by:
      hasLocalIdentity in interface StartClientHandshakeReqOrBuilder
      Returns:
      Whether the localIdentity field is set.
    • getLocalIdentity

      public Identity getLocalIdentity()
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
      Specified by:
      getLocalIdentity in interface StartClientHandshakeReqOrBuilder
      Returns:
      The localIdentity.
    • setLocalIdentity

      public StartClientHandshakeReq.Builder setLocalIdentity(Identity value)
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
    • setLocalIdentity

      public StartClientHandshakeReq.Builder setLocalIdentity(Identity.Builder builderForValue)
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
    • mergeLocalIdentity

      public StartClientHandshakeReq.Builder mergeLocalIdentity(Identity value)
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
    • clearLocalIdentity

      public StartClientHandshakeReq.Builder clearLocalIdentity()
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
    • getLocalIdentityBuilder

      public Identity.Builder getLocalIdentityBuilder()
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
    • getLocalIdentityOrBuilder

      public IdentityOrBuilder getLocalIdentityOrBuilder()
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
      Specified by:
      getLocalIdentityOrBuilder in interface StartClientHandshakeReqOrBuilder
    • getLocalIdentityFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Identity,Identity.Builder,IdentityOrBuilder> getLocalIdentityFieldBuilder()
       (Optional) Application may specify a local identity. Otherwise, the
       handshaker chooses a default local identity.
       
      .grpc.gcp.Identity local_identity = 5;
    • hasLocalEndpoint

      public boolean hasLocalEndpoint()
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
      Specified by:
      hasLocalEndpoint in interface StartClientHandshakeReqOrBuilder
      Returns:
      Whether the localEndpoint field is set.
    • getLocalEndpoint

      public Endpoint getLocalEndpoint()
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
      Specified by:
      getLocalEndpoint in interface StartClientHandshakeReqOrBuilder
      Returns:
      The localEndpoint.
    • setLocalEndpoint

      public StartClientHandshakeReq.Builder setLocalEndpoint(Endpoint value)
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
    • setLocalEndpoint

      public StartClientHandshakeReq.Builder setLocalEndpoint(Endpoint.Builder builderForValue)
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
    • mergeLocalEndpoint

      public StartClientHandshakeReq.Builder mergeLocalEndpoint(Endpoint value)
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
    • clearLocalEndpoint

      public StartClientHandshakeReq.Builder clearLocalEndpoint()
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
    • getLocalEndpointBuilder

      public Endpoint.Builder getLocalEndpointBuilder()
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
    • getLocalEndpointOrBuilder

      public EndpointOrBuilder getLocalEndpointOrBuilder()
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
      Specified by:
      getLocalEndpointOrBuilder in interface StartClientHandshakeReqOrBuilder
    • getLocalEndpointFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> getLocalEndpointFieldBuilder()
       (Optional) Local endpoint information of the connection to the server,
       such as local IP address, port number, and network protocol.
       
      .grpc.gcp.Endpoint local_endpoint = 6;
    • hasRemoteEndpoint

      public boolean hasRemoteEndpoint()
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
      Specified by:
      hasRemoteEndpoint in interface StartClientHandshakeReqOrBuilder
      Returns:
      Whether the remoteEndpoint field is set.
    • getRemoteEndpoint

      public Endpoint getRemoteEndpoint()
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
      Specified by:
      getRemoteEndpoint in interface StartClientHandshakeReqOrBuilder
      Returns:
      The remoteEndpoint.
    • setRemoteEndpoint

      public StartClientHandshakeReq.Builder setRemoteEndpoint(Endpoint value)
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
    • setRemoteEndpoint

      public StartClientHandshakeReq.Builder setRemoteEndpoint(Endpoint.Builder builderForValue)
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
    • mergeRemoteEndpoint

      public StartClientHandshakeReq.Builder mergeRemoteEndpoint(Endpoint value)
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
    • clearRemoteEndpoint

      public StartClientHandshakeReq.Builder clearRemoteEndpoint()
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
    • getRemoteEndpointBuilder

      public Endpoint.Builder getRemoteEndpointBuilder()
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
    • getRemoteEndpointOrBuilder

      public EndpointOrBuilder getRemoteEndpointOrBuilder()
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
      Specified by:
      getRemoteEndpointOrBuilder in interface StartClientHandshakeReqOrBuilder
    • getRemoteEndpointFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder,EndpointOrBuilder> getRemoteEndpointFieldBuilder()
       (Optional) Endpoint information of the remote server, such as IP address,
       port number, and network protocol.
       
      .grpc.gcp.Endpoint remote_endpoint = 7;
    • getTargetName

      public String getTargetName()
       (Optional) If target name is provided, a secure naming check is performed
       to verify that the peer authenticated identity is indeed authorized to run
       the target name.
       
      string target_name = 8;
      Specified by:
      getTargetName in interface StartClientHandshakeReqOrBuilder
      Returns:
      The targetName.
    • getTargetNameBytes

      public com.google.protobuf.ByteString getTargetNameBytes()
       (Optional) If target name is provided, a secure naming check is performed
       to verify that the peer authenticated identity is indeed authorized to run
       the target name.
       
      string target_name = 8;
      Specified by:
      getTargetNameBytes in interface StartClientHandshakeReqOrBuilder
      Returns:
      The bytes for targetName.
    • setTargetName

      public StartClientHandshakeReq.Builder setTargetName(String value)
       (Optional) If target name is provided, a secure naming check is performed
       to verify that the peer authenticated identity is indeed authorized to run
       the target name.
       
      string target_name = 8;
      Parameters:
      value - The targetName to set.
      Returns:
      This builder for chaining.
    • clearTargetName

      public StartClientHandshakeReq.Builder clearTargetName()
       (Optional) If target name is provided, a secure naming check is performed
       to verify that the peer authenticated identity is indeed authorized to run
       the target name.
       
      string target_name = 8;
      Returns:
      This builder for chaining.
    • setTargetNameBytes

      public StartClientHandshakeReq.Builder setTargetNameBytes(com.google.protobuf.ByteString value)
       (Optional) If target name is provided, a secure naming check is performed
       to verify that the peer authenticated identity is indeed authorized to run
       the target name.
       
      string target_name = 8;
      Parameters:
      value - The bytes for targetName to set.
      Returns:
      This builder for chaining.
    • hasRpcVersions

      public boolean hasRpcVersions()
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
      Specified by:
      hasRpcVersions in interface StartClientHandshakeReqOrBuilder
      Returns:
      Whether the rpcVersions field is set.
    • getRpcVersions

      public RpcProtocolVersions getRpcVersions()
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
      Specified by:
      getRpcVersions in interface StartClientHandshakeReqOrBuilder
      Returns:
      The rpcVersions.
    • setRpcVersions

       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
    • setRpcVersions

      public StartClientHandshakeReq.Builder setRpcVersions(RpcProtocolVersions.Builder builderForValue)
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
    • mergeRpcVersions

      public StartClientHandshakeReq.Builder mergeRpcVersions(RpcProtocolVersions value)
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
    • clearRpcVersions

      public StartClientHandshakeReq.Builder clearRpcVersions()
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
    • getRpcVersionsBuilder

      public RpcProtocolVersions.Builder getRpcVersionsBuilder()
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
    • getRpcVersionsOrBuilder

      public RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder()
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
      Specified by:
      getRpcVersionsOrBuilder in interface StartClientHandshakeReqOrBuilder
    • getRpcVersionsFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<RpcProtocolVersions,RpcProtocolVersions.Builder,RpcProtocolVersionsOrBuilder> getRpcVersionsFieldBuilder()
       (Optional) RPC protocol versions supported by the client.
       
      .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
    • getMaxFrameSize

      public int getMaxFrameSize()
       (Optional) Maximum frame size supported by the client.
       
      uint32 max_frame_size = 10;
      Specified by:
      getMaxFrameSize in interface StartClientHandshakeReqOrBuilder
      Returns:
      The maxFrameSize.
    • setMaxFrameSize

      public StartClientHandshakeReq.Builder setMaxFrameSize(int value)
       (Optional) Maximum frame size supported by the client.
       
      uint32 max_frame_size = 10;
      Parameters:
      value - The maxFrameSize to set.
      Returns:
      This builder for chaining.
    • clearMaxFrameSize

      public StartClientHandshakeReq.Builder clearMaxFrameSize()
       (Optional) Maximum frame size supported by the client.
       
      uint32 max_frame_size = 10;
      Returns:
      This builder for chaining.