Class Generated.GRPCAction.Builder

    • Method Detail

      • 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<Generated.GRPCAction.Builder>
      • clear

        public Generated.GRPCAction.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<Generated.GRPCAction.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<Generated.GRPCAction.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

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

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

        public Generated.GRPCAction.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<Generated.GRPCAction.Builder>
      • isInitialized

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

        public Generated.GRPCAction.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<Generated.GRPCAction.Builder>
        Throws:
        IOException
      • hasPort

        public boolean hasPort()
         Port number of the gRPC service. Number must be in the range 1 to 65535.
         
        optional int32 port = 1;
        Specified by:
        hasPort in interface Generated.GRPCActionOrBuilder
        Returns:
        Whether the port field is set.
      • getPort

        public int getPort()
         Port number of the gRPC service. Number must be in the range 1 to 65535.
         
        optional int32 port = 1;
        Specified by:
        getPort in interface Generated.GRPCActionOrBuilder
        Returns:
        The port.
      • setPort

        public Generated.GRPCAction.Builder setPort​(int value)
         Port number of the gRPC service. Number must be in the range 1 to 65535.
         
        optional int32 port = 1;
        Parameters:
        value - The port to set.
        Returns:
        This builder for chaining.
      • clearPort

        public Generated.GRPCAction.Builder clearPort()
         Port number of the gRPC service. Number must be in the range 1 to 65535.
         
        optional int32 port = 1;
        Returns:
        This builder for chaining.
      • hasService

        public boolean hasService()
         Service is the name of the service to place in the gRPC HealthCheckRequest
         (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
        
         If this is not specified, the default behavior is defined by gRPC.
         +optional
         +default=""
         
        optional string service = 2;
        Specified by:
        hasService in interface Generated.GRPCActionOrBuilder
        Returns:
        Whether the service field is set.
      • getService

        public String getService()
         Service is the name of the service to place in the gRPC HealthCheckRequest
         (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
        
         If this is not specified, the default behavior is defined by gRPC.
         +optional
         +default=""
         
        optional string service = 2;
        Specified by:
        getService in interface Generated.GRPCActionOrBuilder
        Returns:
        The service.
      • getServiceBytes

        public com.google.protobuf.ByteString getServiceBytes()
         Service is the name of the service to place in the gRPC HealthCheckRequest
         (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
        
         If this is not specified, the default behavior is defined by gRPC.
         +optional
         +default=""
         
        optional string service = 2;
        Specified by:
        getServiceBytes in interface Generated.GRPCActionOrBuilder
        Returns:
        The bytes for service.
      • setService

        public Generated.GRPCAction.Builder setService​(String value)
         Service is the name of the service to place in the gRPC HealthCheckRequest
         (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
        
         If this is not specified, the default behavior is defined by gRPC.
         +optional
         +default=""
         
        optional string service = 2;
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public Generated.GRPCAction.Builder clearService()
         Service is the name of the service to place in the gRPC HealthCheckRequest
         (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
        
         If this is not specified, the default behavior is defined by gRPC.
         +optional
         +default=""
         
        optional string service = 2;
        Returns:
        This builder for chaining.
      • setServiceBytes

        public Generated.GRPCAction.Builder setServiceBytes​(com.google.protobuf.ByteString value)
         Service is the name of the service to place in the gRPC HealthCheckRequest
         (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
        
         If this is not specified, the default behavior is defined by gRPC.
         +optional
         +default=""
         
        optional string service = 2;
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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