Class ResetAdminPasswordResponse.Builder (1.32.0)

public static final class ResetAdminPasswordResponse.Builder extends GeneratedMessageV3.Builder<ResetAdminPasswordResponse.Builder> implements ResetAdminPasswordResponseOrBuilder

Response message for ResetAdminPassword

Protobuf type google.cloud.managedidentities.v1.ResetAdminPasswordResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResetAdminPasswordResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

build()

public ResetAdminPasswordResponse build()
Returns
TypeDescription
ResetAdminPasswordResponse

buildPartial()

public ResetAdminPasswordResponse buildPartial()
Returns
TypeDescription
ResetAdminPasswordResponse

clear()

public ResetAdminPasswordResponse.Builder clear()
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResetAdminPasswordResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResetAdminPasswordResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

clearPassword()

public ResetAdminPasswordResponse.Builder clearPassword()

A random password. See admin for more information.

string password = 1;

Returns
TypeDescription
ResetAdminPasswordResponse.Builder

This builder for chaining.

clone()

public ResetAdminPasswordResponse.Builder clone()
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

getDefaultInstanceForType()

public ResetAdminPasswordResponse getDefaultInstanceForType()
Returns
TypeDescription
ResetAdminPasswordResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPassword()

public String getPassword()

A random password. See admin for more information.

string password = 1;

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

A random password. See admin for more information.

string password = 1;

Returns
TypeDescription
ByteString

The bytes for password.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResetAdminPasswordResponse other)

public ResetAdminPasswordResponse.Builder mergeFrom(ResetAdminPasswordResponse other)
Parameter
NameDescription
otherResetAdminPasswordResponse
Returns
TypeDescription
ResetAdminPasswordResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResetAdminPasswordResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResetAdminPasswordResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResetAdminPasswordResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResetAdminPasswordResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

setPassword(String value)

public ResetAdminPasswordResponse.Builder setPassword(String value)

A random password. See admin for more information.

string password = 1;

Parameter
NameDescription
valueString

The password to set.

Returns
TypeDescription
ResetAdminPasswordResponse.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public ResetAdminPasswordResponse.Builder setPasswordBytes(ByteString value)

A random password. See admin for more information.

string password = 1;

Parameter
NameDescription
valueByteString

The bytes for password to set.

Returns
TypeDescription
ResetAdminPasswordResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResetAdminPasswordResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResetAdminPasswordResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResetAdminPasswordResponse.Builder
Overrides