Class ImportSshPublicKeyResponse.Builder

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

public static final class ImportSshPublicKeyResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportSshPublicKeyResponse.Builder> implements ImportSshPublicKeyResponseOrBuilder
 A response message for importing an SSH public key.
 
Protobuf type google.cloud.oslogin.v1.ImportSshPublicKeyResponse
  • 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<ImportSshPublicKeyResponse.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<ImportSshPublicKeyResponse.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<ImportSshPublicKeyResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public ImportSshPublicKeyResponse.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<ImportSshPublicKeyResponse.Builder>
      Throws:
      IOException
    • hasLoginProfile

      public boolean hasLoginProfile()
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
      Specified by:
      hasLoginProfile in interface ImportSshPublicKeyResponseOrBuilder
      Returns:
      Whether the loginProfile field is set.
    • getLoginProfile

      public LoginProfile getLoginProfile()
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
      Specified by:
      getLoginProfile in interface ImportSshPublicKeyResponseOrBuilder
      Returns:
      The loginProfile.
    • setLoginProfile

      public ImportSshPublicKeyResponse.Builder setLoginProfile(LoginProfile value)
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
    • setLoginProfile

      public ImportSshPublicKeyResponse.Builder setLoginProfile(LoginProfile.Builder builderForValue)
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
    • mergeLoginProfile

      public ImportSshPublicKeyResponse.Builder mergeLoginProfile(LoginProfile value)
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
    • clearLoginProfile

      public ImportSshPublicKeyResponse.Builder clearLoginProfile()
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
    • getLoginProfileBuilder

      public LoginProfile.Builder getLoginProfileBuilder()
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
    • getLoginProfileOrBuilder

      public LoginProfileOrBuilder getLoginProfileOrBuilder()
       The login profile information for the user.
       
      .google.cloud.oslogin.v1.LoginProfile login_profile = 1;
      Specified by:
      getLoginProfileOrBuilder in interface ImportSshPublicKeyResponseOrBuilder
    • getDetails

      public String getDetails()
       Detailed information about import results.
       
      string details = 2;
      Specified by:
      getDetails in interface ImportSshPublicKeyResponseOrBuilder
      Returns:
      The details.
    • getDetailsBytes

      public com.google.protobuf.ByteString getDetailsBytes()
       Detailed information about import results.
       
      string details = 2;
      Specified by:
      getDetailsBytes in interface ImportSshPublicKeyResponseOrBuilder
      Returns:
      The bytes for details.
    • setDetails

      public ImportSshPublicKeyResponse.Builder setDetails(String value)
       Detailed information about import results.
       
      string details = 2;
      Parameters:
      value - The details to set.
      Returns:
      This builder for chaining.
    • clearDetails

      public ImportSshPublicKeyResponse.Builder clearDetails()
       Detailed information about import results.
       
      string details = 2;
      Returns:
      This builder for chaining.
    • setDetailsBytes

      public ImportSshPublicKeyResponse.Builder setDetailsBytes(com.google.protobuf.ByteString value)
       Detailed information about import results.
       
      string details = 2;
      Parameters:
      value - The bytes for details to set.
      Returns:
      This builder for chaining.