Interface Generated.ServiceAccountTokenProjectionOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAudience()
      audience is the intended audience of the token.
      com.google.protobuf.ByteString getAudienceBytes()
      audience is the intended audience of the token.
      long getExpirationSeconds()
      expirationSeconds is the requested duration of validity of the service account token.
      String getPath()
      path is the path relative to the mount point of the file to project the token into.
      com.google.protobuf.ByteString getPathBytes()
      path is the path relative to the mount point of the file to project the token into.
      boolean hasAudience()
      audience is the intended audience of the token.
      boolean hasExpirationSeconds()
      expirationSeconds is the requested duration of validity of the service account token.
      boolean hasPath()
      path is the path relative to the mount point of the file to project the token into.
      • 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

      • hasAudience

        boolean hasAudience()
         audience is the intended audience of the token. A recipient of a token
         must identify itself with an identifier specified in the audience of the
         token, and otherwise should reject the token. The audience defaults to the
         identifier of the apiserver.
         +optional
         
        optional string audience = 1;
        Returns:
        Whether the audience field is set.
      • getAudience

        String getAudience()
         audience is the intended audience of the token. A recipient of a token
         must identify itself with an identifier specified in the audience of the
         token, and otherwise should reject the token. The audience defaults to the
         identifier of the apiserver.
         +optional
         
        optional string audience = 1;
        Returns:
        The audience.
      • getAudienceBytes

        com.google.protobuf.ByteString getAudienceBytes()
         audience is the intended audience of the token. A recipient of a token
         must identify itself with an identifier specified in the audience of the
         token, and otherwise should reject the token. The audience defaults to the
         identifier of the apiserver.
         +optional
         
        optional string audience = 1;
        Returns:
        The bytes for audience.
      • hasExpirationSeconds

        boolean hasExpirationSeconds()
         expirationSeconds is the requested duration of validity of the service
         account token. As the token approaches expiration, the kubelet volume
         plugin will proactively rotate the service account token. The kubelet will
         start trying to rotate the token if the token is older than 80 percent of
         its time to live or if the token is older than 24 hours.Defaults to 1 hour
         and must be at least 10 minutes.
         +optional
         
        optional int64 expirationSeconds = 2;
        Returns:
        Whether the expirationSeconds field is set.
      • getExpirationSeconds

        long getExpirationSeconds()
         expirationSeconds is the requested duration of validity of the service
         account token. As the token approaches expiration, the kubelet volume
         plugin will proactively rotate the service account token. The kubelet will
         start trying to rotate the token if the token is older than 80 percent of
         its time to live or if the token is older than 24 hours.Defaults to 1 hour
         and must be at least 10 minutes.
         +optional
         
        optional int64 expirationSeconds = 2;
        Returns:
        The expirationSeconds.
      • hasPath

        boolean hasPath()
         path is the path relative to the mount point of the file to project the
         token into.
         
        optional string path = 3;
        Returns:
        Whether the path field is set.
      • getPath

        String getPath()
         path is the path relative to the mount point of the file to project the
         token into.
         
        optional string path = 3;
        Returns:
        The path.
      • getPathBytes

        com.google.protobuf.ByteString getPathBytes()
         path is the path relative to the mount point of the file to project the
         token into.
         
        optional string path = 3;
        Returns:
        The bytes for path.