Interface Generated.ContainerResizePolicyOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getResourceName()
      Name of the resource to which this resource resize policy applies.
      com.google.protobuf.ByteString getResourceNameBytes()
      Name of the resource to which this resource resize policy applies.
      String getRestartPolicy()
      Restart policy to apply when specified resource is resized.
      com.google.protobuf.ByteString getRestartPolicyBytes()
      Restart policy to apply when specified resource is resized.
      boolean hasResourceName()
      Name of the resource to which this resource resize policy applies.
      boolean hasRestartPolicy()
      Restart policy to apply when specified resource is resized.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasResourceName

        boolean hasResourceName()
         Name of the resource to which this resource resize policy applies.
         Supported values: cpu, memory.
         
        optional string resourceName = 1;
        Returns:
        Whether the resourceName field is set.
      • getResourceName

        String getResourceName()
         Name of the resource to which this resource resize policy applies.
         Supported values: cpu, memory.
         
        optional string resourceName = 1;
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Name of the resource to which this resource resize policy applies.
         Supported values: cpu, memory.
         
        optional string resourceName = 1;
        Returns:
        The bytes for resourceName.
      • hasRestartPolicy

        boolean hasRestartPolicy()
         Restart policy to apply when specified resource is resized.
         If not specified, it defaults to NotRequired.
         
        optional string restartPolicy = 2;
        Returns:
        Whether the restartPolicy field is set.
      • getRestartPolicy

        String getRestartPolicy()
         Restart policy to apply when specified resource is resized.
         If not specified, it defaults to NotRequired.
         
        optional string restartPolicy = 2;
        Returns:
        The restartPolicy.
      • getRestartPolicyBytes

        com.google.protobuf.ByteString getRestartPolicyBytes()
         Restart policy to apply when specified resource is resized.
         If not specified, it defaults to NotRequired.
         
        optional string restartPolicy = 2;
        Returns:
        The bytes for restartPolicy.