Class ListNoteOccurrencesRequest.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNoteOccurrencesRequest build()
Returns
TypeDescription
ListNoteOccurrencesRequest

buildPartial()

public ListNoteOccurrencesRequest buildPartial()
Returns
TypeDescription
ListNoteOccurrencesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListNoteOccurrencesRequest.Builder clearFilter()

The filter expression.

string filter = 2;

Returns
TypeDescription
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
TypeDescription
ListNoteOccurrencesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListNoteOccurrencesRequest.Builder clearPageSize()

Number of occurrences to return in the list.

int32 page_size = 3;

Returns
TypeDescription
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
TypeDescription
ListNoteOccurrencesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNoteOccurrencesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListNoteOccurrencesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

The filter expression.

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The filter expression.

string filter = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

Number of occurrences to return in the list.

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListNoteOccurrencesRequest other)

public ListNoteOccurrencesRequest.Builder mergeFrom(ListNoteOccurrencesRequest other)
Parameter
NameDescription
otherListNoteOccurrencesRequest
Returns
TypeDescription
ListNoteOccurrencesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListNoteOccurrencesRequest.Builder setFilter(String value)

The filter expression.

string filter = 2;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListNoteOccurrencesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListNoteOccurrencesRequest.Builder setFilterBytes(ByteString value)

The filter expression.

string filter = 2;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNoteOccurrencesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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