Class protos.google.bigtable.admin.v2.PartialUpdateInstanceRequest (4.6.1)

Represents a PartialUpdateInstanceRequest.

Package

@google-cloud/bigtable

Constructors

(constructor)(properties)

constructor(properties?: google.bigtable.admin.v2.IPartialUpdateInstanceRequest);

Constructs a new PartialUpdateInstanceRequest.

Parameter
NameDescription
properties IPartialUpdateInstanceRequest

Properties to set

Properties

instance

public instance?: (google.bigtable.admin.v2.IInstance|null);

PartialUpdateInstanceRequest instance.

updateMask

public updateMask?: (google.protobuf.IFieldMask|null);

PartialUpdateInstanceRequest updateMask.

Methods

create(properties)

public static create(properties?: google.bigtable.admin.v2.IPartialUpdateInstanceRequest): google.bigtable.admin.v2.PartialUpdateInstanceRequest;

Creates a new PartialUpdateInstanceRequest instance using the specified properties.

Parameter
NameDescription
properties IPartialUpdateInstanceRequest

Properties to set

Returns
TypeDescription
PartialUpdateInstanceRequest

PartialUpdateInstanceRequest instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.bigtable.admin.v2.PartialUpdateInstanceRequest;

Decodes a PartialUpdateInstanceRequest message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
PartialUpdateInstanceRequest

PartialUpdateInstanceRequest

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.bigtable.admin.v2.PartialUpdateInstanceRequest;

Decodes a PartialUpdateInstanceRequest message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
PartialUpdateInstanceRequest

PartialUpdateInstanceRequest

encode(message, writer)

public static encode(message: google.bigtable.admin.v2.IPartialUpdateInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified PartialUpdateInstanceRequest message. Does not implicitly messages.

Parameters
NameDescription
message IPartialUpdateInstanceRequest

PartialUpdateInstanceRequest message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.bigtable.admin.v2.IPartialUpdateInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified PartialUpdateInstanceRequest message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message IPartialUpdateInstanceRequest

PartialUpdateInstanceRequest message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.bigtable.admin.v2.PartialUpdateInstanceRequest;

Creates a PartialUpdateInstanceRequest message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
PartialUpdateInstanceRequest

PartialUpdateInstanceRequest

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for PartialUpdateInstanceRequest

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this PartialUpdateInstanceRequest to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.bigtable.admin.v2.PartialUpdateInstanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a PartialUpdateInstanceRequest message. Also converts values to other types if specified.

Parameters
NameDescription
message PartialUpdateInstanceRequest

PartialUpdateInstanceRequest

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a PartialUpdateInstanceRequest message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not