Class ListNotesResponse.Builder (2.89.0)

  public 
  
 static 
  
 final 
  
 class 
 ListNotesResponse 
 . 
 Builder 
  
 extends 
  
 GeneratedMessage 
 . 
 Builder<ListNotesResponse 
 . 
 Builder 
>  
 implements 
  
 ListNotesResponseOrBuilder 
 

Response for listing notes.

Protobuf type grafeas.v1.ListNotesResponse

Static Methods

getDescriptor()

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

Methods

addAllNotes(Iterable<? extends Note> values)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addAllNotes 
 ( 
 Iterable 
< ? 
  
 extends 
  
 Note 
>  
 values 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
values
Iterable < ? extends io.grafeas.v1.Note >
Returns
Type
Description

addAllUnreachable(Iterable<String> values)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addAllUnreachable 
 ( 
 Iterable<String> 
  
 values 
 ) 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name
Description
values
Iterable < String >

The unreachable to add.

Returns
Type
Description

This builder for chaining.

addNotes(int index, Note value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addNotes 
 ( 
 int 
  
 index 
 , 
  
 Note 
  
 value 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameters
Name
Description
index
int
value
Returns
Type
Description

addNotes(int index, Note.Builder builderForValue)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addNotes 
 ( 
 int 
  
 index 
 , 
  
 Note 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameters
Name
Description
index
int
builderForValue
Returns
Type
Description

addNotes(Note value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addNotes 
 ( 
 Note 
  
 value 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
value
Returns
Type
Description

addNotes(Note.Builder builderForValue)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addNotes 
 ( 
 Note 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
builderForValue
Returns
Type
Description

addNotesBuilder()

  public 
  
 Note 
 . 
 Builder 
  
 addNotesBuilder 
 () 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
Type
Description

addNotesBuilder(int index)

  public 
  
 Note 
 . 
 Builder 
  
 addNotesBuilder 
 ( 
 int 
  
 index 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
index
int
Returns
Type
Description

addUnreachable(String value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addUnreachable 
 ( 
 String 
  
 value 
 ) 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name
Description
value
String

The unreachable to add.

Returns
Type
Description

This builder for chaining.

addUnreachableBytes(ByteString value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 addUnreachableBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name
Description
value
ByteString

The bytes of the unreachable to add.

Returns
Type
Description

This builder for chaining.

build()

  public 
  
 ListNotesResponse 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 ListNotesResponse 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearNextPageToken()

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 clearNextPageToken 
 () 
 

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type
Description

This builder for chaining.

clearNotes()

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 clearNotes 
 () 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
Type
Description

clearUnreachable()

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 clearUnreachable 
 () 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type
Description

This builder for chaining.

getDefaultInstanceForType()

  public 
  
 ListNotesResponse 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
Overrides

getNextPageToken()

  public 
  
 String 
  
 getNextPageToken 
 () 
 

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type
Description

The nextPageToken.

getNextPageTokenBytes()

  public 
  
 ByteString 
  
 getNextPageTokenBytes 
 () 
 

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type
Description

The bytes for nextPageToken.

getNotes(int index)

  public 
  
 Note 
  
 getNotes 
 ( 
 int 
  
 index 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
index
int
Returns
Type
Description

getNotesBuilder(int index)

  public 
  
 Note 
 . 
 Builder 
  
 getNotesBuilder 
 ( 
 int 
  
 index 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
index
int
Returns
Type
Description

getNotesBuilderList()

  public 
  
 List<Note 
 . 
 Builder 
>  
 getNotesBuilderList 
 () 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
Type
Description

getNotesCount()

  public 
  
 int 
  
 getNotesCount 
 () 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
Type
Description
int

getNotesList()

  public 
  
 List<Note> 
  
 getNotesList 
 () 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
Type
Description
List < Note >

getNotesOrBuilder(int index)

  public 
  
 NoteOrBuilder 
  
 getNotesOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
index
int
Returns
Type
Description

getNotesOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 NoteOrBuilder 
>  
 getNotesOrBuilderList 
 () 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
Type
Description
List < ? extends io.grafeas.v1.NoteOrBuilder >

getUnreachable(int index)

  public 
  
 String 
  
 getUnreachable 
 ( 
 int 
  
 index 
 ) 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The unreachable at the given index.

getUnreachableBytes(int index)

  public 
  
 ByteString 
  
 getUnreachableBytes 
 ( 
 int 
  
 index 
 ) 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name
Description
index
int

The index of the value to return.

Returns
Type
Description

The bytes of the unreachable at the given index.

getUnreachableCount()

  public 
  
 int 
  
 getUnreachableCount 
 () 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type
Description
int

The count of unreachable.

getUnreachableList()

  public 
  
 ProtocolStringList 
  
 getUnreachableList 
 () 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type
Description

A list containing the unreachable.

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessage 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListNotesResponse other)

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

removeNotes(int index)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 removeNotes 
 ( 
 int 
  
 index 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name
Description
index
int
Returns
Type
Description

setNextPageToken(String value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 setNextPageToken 
 ( 
 String 
  
 value 
 ) 
 

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Parameter
Name
Description
value
String

The nextPageToken to set.

Returns
Type
Description

This builder for chaining.

setNextPageTokenBytes(ByteString value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 setNextPageTokenBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Parameter
Name
Description
value
ByteString

The bytes for nextPageToken to set.

Returns
Type
Description

This builder for chaining.

setNotes(int index, Note value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 setNotes 
 ( 
 int 
  
 index 
 , 
  
 Note 
  
 value 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameters
Name
Description
index
int
value
Returns
Type
Description

setNotes(int index, Note.Builder builderForValue)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 setNotes 
 ( 
 int 
  
 index 
 , 
  
 Note 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameters
Name
Description
index
int
builderForValue
Returns
Type
Description

setUnreachable(int index, String value)

  public 
  
 ListNotesResponse 
 . 
 Builder 
  
 setUnreachable 
 ( 
 int 
  
 index 
 , 
  
 String 
  
 value 
 ) 
 

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name
Description
index
int

The index to set the value at.

value
String

The unreachable to set.

Returns
Type
Description

This builder for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: