Class GetNoteRequest.Builder (2.24.0)

public static final class GetNoteRequest.Builder extends GeneratedMessageV3.Builder<GetNoteRequest.Builder> implements GetNoteRequestOrBuilder

Request to get a note.

Protobuf type grafeas.v1beta1.GetNoteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNoteRequest build()
Returns
TypeDescription
GetNoteRequest

buildPartial()

public GetNoteRequest buildPartial()
Returns
TypeDescription
GetNoteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetNoteRequest.Builder clearName()

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
GetNoteRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetNoteRequest getDefaultInstanceForType()
Returns
TypeDescription
GetNoteRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(GetNoteRequest other)

public GetNoteRequest.Builder mergeFrom(GetNoteRequest other)
Parameter
NameDescription
otherGetNoteRequest
Returns
TypeDescription
GetNoteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetNoteRequest.Builder setName(String value)

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetNoteRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetNoteRequest.Builder setNameBytes(ByteString value)

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetNoteRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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