Class StartServerHandshakeReq.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StartServerHandshakeReq.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

        public StartServerHandshakeReq.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.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<StartServerHandshakeReq.Builder>
        Throws:
        java.io.IOException
      • ensureApplicationProtocolsIsMutable

        private void ensureApplicationProtocolsIsMutable()
      • getApplicationProtocolsList

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

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

        public java.lang.String getApplicationProtocols​(int index)
         The application protocols supported by the server, e.g., "h2" (for http2),
         "grpc".
         
        repeated string application_protocols = 1;
        Specified by:
        getApplicationProtocols in interface StartServerHandshakeReqOrBuilder
        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 server, e.g., "h2" (for http2),
         "grpc".
         
        repeated string application_protocols = 1;
        Specified by:
        getApplicationProtocolsBytes in interface StartServerHandshakeReqOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the applicationProtocols at the given index.
      • setApplicationProtocols

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

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

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

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

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

        public int getHandshakeParametersCount()
        Description copied from interface: StartServerHandshakeReqOrBuilder
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
        Specified by:
        getHandshakeParametersCount in interface StartServerHandshakeReqOrBuilder
      • containsHandshakeParameters

        public boolean containsHandshakeParameters​(int key)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
        Specified by:
        containsHandshakeParameters in interface StartServerHandshakeReqOrBuilder
      • getHandshakeParametersMap

        public java.util.Map<java.lang.Integer,​ServerHandshakeParameters> getHandshakeParametersMap()
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
        Specified by:
        getHandshakeParametersMap in interface StartServerHandshakeReqOrBuilder
      • getHandshakeParametersOrDefault

        public ServerHandshakeParameters getHandshakeParametersOrDefault​(int key,
                                                                         ServerHandshakeParameters defaultValue)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
        Specified by:
        getHandshakeParametersOrDefault in interface StartServerHandshakeReqOrBuilder
      • getHandshakeParametersOrThrow

        public ServerHandshakeParameters getHandshakeParametersOrThrow​(int key)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
        Specified by:
        getHandshakeParametersOrThrow in interface StartServerHandshakeReqOrBuilder
      • removeHandshakeParameters

        public StartServerHandshakeReq.Builder removeHandshakeParameters​(int key)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
      • getMutableHandshakeParameters

        @Deprecated
        public java.util.Map<java.lang.Integer,​ServerHandshakeParameters> getMutableHandshakeParameters()
        Deprecated.
        Use alternate mutation accessors instead.
      • putHandshakeParameters

        public StartServerHandshakeReq.Builder putHandshakeParameters​(int key,
                                                                      ServerHandshakeParameters value)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
      • putAllHandshakeParameters

        public StartServerHandshakeReq.Builder putAllHandshakeParameters​(java.util.Map<java.lang.Integer,​ServerHandshakeParameters> values)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
      • putHandshakeParametersBuilderIfAbsent

        public ServerHandshakeParameters.Builder putHandshakeParametersBuilderIfAbsent​(int key)
         Handshake parameters (record protocols and local identities supported by
         the server) mapped by the handshake protocol. Each handshake security
         protocol (e.g., TLS or ALTS) has its own set of record protocols and local
         identities. Since protobuf does not support enum as key to the map, the key
         to handshake_parameters is the integer value of HandshakeProtocol enum.
         
        map<int32, .grpc.gcp.ServerHandshakeParameters> handshake_parameters = 2;
      • getInBytes

        public com.google.protobuf.ByteString getInBytes()
         Bytes in out_frames returned from the peer's HandshakerResp. It is possible
         that the peer's out_frames are split into multiple HandshakReq messages.
         
        bytes in_bytes = 3;
        Specified by:
        getInBytes in interface StartServerHandshakeReqOrBuilder
        Returns:
        The inBytes.
      • setInBytes

        public StartServerHandshakeReq.Builder setInBytes​(com.google.protobuf.ByteString value)
         Bytes in out_frames returned from the peer's HandshakerResp. It is possible
         that the peer's out_frames are split into multiple HandshakReq messages.
         
        bytes in_bytes = 3;
        Parameters:
        value - The inBytes to set.
        Returns:
        This builder for chaining.
      • clearInBytes

        public StartServerHandshakeReq.Builder clearInBytes()
         Bytes in out_frames returned from the peer's HandshakerResp. It is possible
         that the peer's out_frames are split into multiple HandshakReq messages.
         
        bytes in_bytes = 3;
        Returns:
        This builder for chaining.
      • hasLocalEndpoint

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasRpcVersions()
         (Optional) RPC protocol versions supported by the server.
         
        .grpc.gcp.RpcProtocolVersions rpc_versions = 6;
        Specified by:
        hasRpcVersions in interface StartServerHandshakeReqOrBuilder
        Returns:
        Whether the rpcVersions field is set.
      • clearRpcVersions

        public StartServerHandshakeReq.Builder clearRpcVersions()
         (Optional) RPC protocol versions supported by the server.
         
        .grpc.gcp.RpcProtocolVersions rpc_versions = 6;
      • getRpcVersionsBuilder

        public RpcProtocolVersions.Builder getRpcVersionsBuilder()
         (Optional) RPC protocol versions supported by the server.
         
        .grpc.gcp.RpcProtocolVersions rpc_versions = 6;
      • getMaxFrameSize

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

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

        public StartServerHandshakeReq.Builder clearMaxFrameSize()
         (Optional) Maximum frame size supported by the server.
         
        uint32 max_frame_size = 7;
        Returns:
        This builder for chaining.