Class Probe.GrpcAction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder>
com.google.cloud.aiplatform.v1.Probe.GrpcAction.Builder
All Implemented Interfaces:
Probe.GrpcActionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Probe.GrpcAction

public static final class Probe.GrpcAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Probe.GrpcAction.Builder> implements Probe.GrpcActionOrBuilder
 GrpcAction checks the health of a container using a gRPC service.
 
Protobuf type google.cloud.aiplatform.v1.Probe.GrpcAction
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Port number of the gRPC service.
    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).
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    int
    Port number of the gRPC service.
    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).
    com.google.protobuf.ByteString
    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).
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setPort(int value)
    Port number of the gRPC service.
    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).
    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).

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Probe.GrpcAction.Builder>
    • clear

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

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

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

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

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

      public Probe.GrpcAction.Builder mergeFrom(Probe.GrpcAction other)
    • isInitialized

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

      public Probe.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<Probe.GrpcAction.Builder>
      Throws:
      IOException
    • getPort

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

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

      public Probe.GrpcAction.Builder clearPort()
       Port number of the gRPC service. Number must be in the range 1 to 65535.
       
      int32 port = 1;
      Returns:
      This builder for chaining.
    • 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.
       
      string service = 2;
      Specified by:
      getService in interface Probe.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.
       
      string service = 2;
      Specified by:
      getServiceBytes in interface Probe.GrpcActionOrBuilder
      Returns:
      The bytes for service.
    • setService

      public Probe.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.
       
      string service = 2;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public Probe.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.
       
      string service = 2;
      Returns:
      This builder for chaining.
    • setServiceBytes

      public Probe.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.
       
      string service = 2;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.