Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 483 for Optional (0.21 sec)

  1. android/guava/src/com/google/common/base/Present.java

      }
    
      @Override
      public T get() {
        return reference;
      }
    
      @Override
      public T or(T defaultValue) {
        checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
        return reference;
      }
    
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        checkNotNull(secondChoice);
        return this;
      }
    
      @Override
      public T or(Supplier<? extends T> supplier) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/admission/v1/generated.proto

      // +optional
      optional string namespace = 6;
    
      // Operation is the operation being performed. This may be different than the operation
      // requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
      optional string operation = 7;
    
      // UserInfo is information about the requesting user
      optional k8s.io.api.authentication.v1.UserInfo userInfo = 8;
    
      // Object is the object from the incoming request.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/coordination/v1/generated.proto

      // observed renewTime.
      // +optional
      optional int32 leaseDurationSeconds = 2;
    
      // acquireTime is a time when the current lease was acquired.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime acquireTime = 3;
    
      // renewTime is a time when the current holder of a lease has last
      // updated the lease.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime renewTime = 4;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

        @Nonnull
        default Optional<Version> getLowerVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(0));
        }
    
        @Nonnull
        default Optional<Version> getHigherVersion() {
            return getVersions().isEmpty()
                    ? Optional.empty()
                    : Optional.of(getVersions().get(getVersions().size() - 1));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/scheduling/v1beta1/generated.proto

      // the smallest value of such global default PriorityClasses will be used as the default priority.
      // +optional
      optional bool globalDefault = 3;
    
      // description is an arbitrary string that usually provides guidelines on
      // when this priority class should be used.
      // +optional
      optional string description = 4;
    
      // preemptionPolicy is the Policy for preempting pods with lower priority.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         * @param active Should the profile be activated?
         * @param optional Can the build continue if the profile does not exist?
         */
        public void addProfileActivation(String id, boolean active, boolean optional) {
            final ActivationSettings settings = ActivationSettings.of(active, optional);
            this.activations.put(id, settings);
        }
    
        private Set<String> getProfileIds(final Predicate<ActivationSettings> predicate) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/node/v1alpha1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec represents specification of the RuntimeClass
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      optional RuntimeClassSpec spec = 2;
    }
    
    // RuntimeClassList is a list of RuntimeClass objects.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. fastapi/security/api_key.py

            ],
            scheme_name: Annotated[
                Optional[str],
                Doc(
                    """
                    Security scheme name.
    
                    It will be included in the generated OpenAPI (e.g. visible at `/docs`).
                    """
                ),
            ] = None,
            description: Annotated[
                Optional[str],
                Doc(
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1/generated.proto

      // nodes.
      // +optional
      optional Scheduling scheduling = 4;
    }
    
    // RuntimeClassList is a list of RuntimeClass objects.
    message RuntimeClassList {
      // Standard list metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS
      // Label (RFC 1123) validation.
      // +optional
      optional string hostname = 3;
    
      // targetRef is a reference to a Kubernetes object that represents this
      // endpoint.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference targetRef = 4;
    
      // topology contains arbitrary topology information associated with the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top