Class ListNoteOccurrencesRequest.Builder (2.53.0)

public static final class ListNoteOccurrencesRequest.Builder extends GeneratedMessageV3.Builder<ListNoteOccurrencesRequest.Builder> implements ListNoteOccurrencesRequestOrBuilder

Request to list occurrences for a note.

Protobuf type grafeas.v1.ListNoteOccurrencesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNoteOccurrencesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

build()

public ListNoteOccurrencesRequest build()
Returns
Type Description
ListNoteOccurrencesRequest

buildPartial()

public ListNoteOccurrencesRequest buildPartial()
Returns
Type Description
ListNoteOccurrencesRequest

clear()

public ListNoteOccurrencesRequest.Builder clear()
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNoteOccurrencesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

clearFilter()

public ListNoteOccurrencesRequest.Builder clearFilter()

The filter expression.

string filter = 2;

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

clearName()

public ListNoteOccurrencesRequest.Builder clearName()

The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNoteOccurrencesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

clearPageSize()

public ListNoteOccurrencesRequest.Builder clearPageSize()

Number of occurrences to return in the list.

int32 page_size = 3;

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

clearPageToken()

public ListNoteOccurrencesRequest.Builder clearPageToken()

Token to provide to skip to a particular spot in the list.

string page_token = 4;

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

clone()

public ListNoteOccurrencesRequest.Builder clone()
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListNoteOccurrencesRequest getDefaultInstanceForType()
Returns
Type Description
ListNoteOccurrencesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

The filter expression.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The filter expression.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getName()

public String getName()

The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

Number of occurrences to return in the list.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Token to provide to skip to a particular spot in the list.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Token to provide to skip to a particular spot in the list.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNoteOccurrencesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListNoteOccurrencesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

mergeFrom(ListNoteOccurrencesRequest other)

public ListNoteOccurrencesRequest.Builder mergeFrom(ListNoteOccurrencesRequest other)
Parameter
Name Description
other ListNoteOccurrencesRequest
Returns
Type Description
ListNoteOccurrencesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNoteOccurrencesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListNoteOccurrencesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

setFilter(String value)

public ListNoteOccurrencesRequest.Builder setFilter(String value)

The filter expression.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListNoteOccurrencesRequest.Builder setFilterBytes(ByteString value)

The filter expression.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setName(String value)

public ListNoteOccurrencesRequest.Builder setName(String value)

The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListNoteOccurrencesRequest.Builder setNameBytes(ByteString value)

The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListNoteOccurrencesRequest.Builder setPageSize(int value)

Number of occurrences to return in the list.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListNoteOccurrencesRequest.Builder setPageToken(String value)

Token to provide to skip to a particular spot in the list.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListNoteOccurrencesRequest.Builder setPageTokenBytes(ByteString value)

Token to provide to skip to a particular spot in the list.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListNoteOccurrencesRequest.Builder

This builder for chaining.

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

public ListNoteOccurrencesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNoteOccurrencesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNoteOccurrencesRequest.Builder
Overrides