Class OsLoginProto.SshPublicKey.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<OsLoginProto.SshPublicKey.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<OsLoginProto.SshPublicKey.Builder>
      • getDefaultInstanceForType

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

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

        public OsLoginProto.SshPublicKey buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public OsLoginProto.SshPublicKey.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<OsLoginProto.SshPublicKey.Builder>
      • isInitialized

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

        public OsLoginProto.SshPublicKey.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<OsLoginProto.SshPublicKey.Builder>
        Throws:
        IOException
      • getKey

        public String getKey()
         Public key text in SSH format, defined by
         <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
         section 6.6.
         
        string key = 1;
        Specified by:
        getKey in interface OsLoginProto.SshPublicKeyOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         Public key text in SSH format, defined by
         <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
         section 6.6.
         
        string key = 1;
        Specified by:
        getKeyBytes in interface OsLoginProto.SshPublicKeyOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public OsLoginProto.SshPublicKey.Builder setKey​(String value)
         Public key text in SSH format, defined by
         <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
         section 6.6.
         
        string key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public OsLoginProto.SshPublicKey.Builder clearKey()
         Public key text in SSH format, defined by
         <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
         section 6.6.
         
        string key = 1;
        Returns:
        This builder for chaining.
      • setKeyBytes

        public OsLoginProto.SshPublicKey.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         Public key text in SSH format, defined by
         <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
         section 6.6.
         
        string key = 1;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • setExpirationTimeUsec

        public OsLoginProto.SshPublicKey.Builder setExpirationTimeUsec​(long value)
         An expiration time in microseconds since epoch.
         
        int64 expiration_time_usec = 2;
        Parameters:
        value - The expirationTimeUsec to set.
        Returns:
        This builder for chaining.
      • clearExpirationTimeUsec

        public OsLoginProto.SshPublicKey.Builder clearExpirationTimeUsec()
         An expiration time in microseconds since epoch.
         
        int64 expiration_time_usec = 2;
        Returns:
        This builder for chaining.
      • getFingerprint

        public String getFingerprint()
         Output only. The SHA-256 fingerprint of the SSH public key.
         
        string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFingerprint in interface OsLoginProto.SshPublicKeyOrBuilder
        Returns:
        The fingerprint.
      • getFingerprintBytes

        public com.google.protobuf.ByteString getFingerprintBytes()
         Output only. The SHA-256 fingerprint of the SSH public key.
         
        string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFingerprintBytes in interface OsLoginProto.SshPublicKeyOrBuilder
        Returns:
        The bytes for fingerprint.
      • setFingerprint

        public OsLoginProto.SshPublicKey.Builder setFingerprint​(String value)
         Output only. The SHA-256 fingerprint of the SSH public key.
         
        string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The fingerprint to set.
        Returns:
        This builder for chaining.
      • clearFingerprint

        public OsLoginProto.SshPublicKey.Builder clearFingerprint()
         Output only. The SHA-256 fingerprint of the SSH public key.
         
        string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setFingerprintBytes

        public OsLoginProto.SshPublicKey.Builder setFingerprintBytes​(com.google.protobuf.ByteString value)
         Output only. The SHA-256 fingerprint of the SSH public key.
         
        string fingerprint = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for fingerprint to set.
        Returns:
        This builder for chaining.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The canonical resource name.
         
        string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface OsLoginProto.SshPublicKeyOrBuilder
        Returns:
        The bytes for name.
      • setName

        public OsLoginProto.SshPublicKey.Builder setName​(String value)
         Output only. The canonical resource name.
         
        string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public OsLoginProto.SshPublicKey.Builder clearName()
         Output only. The canonical resource name.
         
        string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public OsLoginProto.SshPublicKey.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The canonical resource name.
         
        string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OsLoginProto.SshPublicKey.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<OsLoginProto.SshPublicKey.Builder>
      • mergeUnknownFields

        public final OsLoginProto.SshPublicKey.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<OsLoginProto.SshPublicKey.Builder>