Send feedback
Class ImportSshPublicKeyResponse.Builder (2.27.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.27.0 keyboard_arrow_down
public static final class ImportSshPublicKeyResponse . Builder extends GeneratedMessageV3 . Builder<ImportSshPublicKeyResponse . Builder > implements ImportSshPublicKeyResponseOrBuilder
A response message for importing an SSH public key.
Protobuf type google.cloud.oslogin.v1.ImportSshPublicKeyResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportSshPublicKeyResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ImportSshPublicKeyResponse build ()
buildPartial()
public ImportSshPublicKeyResponse buildPartial ()
clear()
public ImportSshPublicKeyResponse . Builder clear ()
Overrides
clearDetails()
public ImportSshPublicKeyResponse . Builder clearDetails ()
Detailed information about import results.
string details = 2;
clearField(Descriptors.FieldDescriptor field)
public ImportSshPublicKeyResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLoginProfile()
public ImportSshPublicKeyResponse . Builder clearLoginProfile ()
The login profile information for the user.
.google.cloud.oslogin.v1.LoginProfile login_profile = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportSshPublicKeyResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ImportSshPublicKeyResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ImportSshPublicKeyResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDetails()
public String getDetails ()
Detailed information about import results.
string details = 2;
Returns Type Description String
The details.
getDetailsBytes()
public ByteString getDetailsBytes ()
Detailed information about import results.
string details = 2;
Returns Type Description ByteString
The bytes for details.
getLoginProfile()
public LoginProfile getLoginProfile ()
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;
hasLoginProfile()
public boolean hasLoginProfile ()
The login profile information for the user.
.google.cloud.oslogin.v1.LoginProfile login_profile = 1;
Returns Type Description boolean
Whether the loginProfile field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ImportSshPublicKeyResponse other)
public ImportSshPublicKeyResponse . Builder mergeFrom ( ImportSshPublicKeyResponse other )
public ImportSshPublicKeyResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ImportSshPublicKeyResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeLoginProfile(LoginProfile value)
public ImportSshPublicKeyResponse . Builder mergeLoginProfile ( LoginProfile value )
The login profile information for the user.
.google.cloud.oslogin.v1.LoginProfile login_profile = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportSshPublicKeyResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDetails(String value)
public ImportSshPublicKeyResponse . Builder setDetails ( String value )
Detailed information about import results.
string details = 2;
Parameter Name Description value
String
The details to set.
setDetailsBytes(ByteString value)
public ImportSshPublicKeyResponse . Builder setDetailsBytes ( ByteString value )
Detailed information about import results.
string details = 2;
Parameter Name Description value
ByteString
The bytes for details to set.
setField(Descriptors.FieldDescriptor field, Object value)
public ImportSshPublicKeyResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLoginProfile(LoginProfile value)
public ImportSshPublicKeyResponse . Builder setLoginProfile ( LoginProfile value )
The login profile information for the user.
.google.cloud.oslogin.v1.LoginProfile login_profile = 1;
setLoginProfile(LoginProfile.Builder builderForValue)
public ImportSshPublicKeyResponse . Builder setLoginProfile ( LoginProfile . Builder builderForValue )
The login profile information for the user.
.google.cloud.oslogin.v1.LoginProfile login_profile = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportSshPublicKeyResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportSshPublicKeyResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]