Class ListDependenciesResponse.Builder (0.8.0)

public static final class ListDependenciesResponse.Builder extends GeneratedMessageV3.Builder<ListDependenciesResponse.Builder> implements ListDependenciesResponseOrBuilder

The ListDependencies method's response.

Protobuf type google.cloud.apihub.v1.ListDependenciesResponse

Static Methods

getDescriptor()

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

Methods

addAllDependencies(Iterable<? extends Dependency> values)

public ListDependenciesResponse.Builder addAllDependencies(Iterable<? extends Dependency> values)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apihub.v1.Dependency>
Returns
Type Description
ListDependenciesResponse.Builder

addDependencies(Dependency value)

public ListDependenciesResponse.Builder addDependencies(Dependency value)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
value Dependency
Returns
Type Description
ListDependenciesResponse.Builder

addDependencies(Dependency.Builder builderForValue)

public ListDependenciesResponse.Builder addDependencies(Dependency.Builder builderForValue)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
builderForValue Dependency.Builder
Returns
Type Description
ListDependenciesResponse.Builder

addDependencies(int index, Dependency value)

public ListDependenciesResponse.Builder addDependencies(int index, Dependency value)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameters
Name Description
index int
value Dependency
Returns
Type Description
ListDependenciesResponse.Builder

addDependencies(int index, Dependency.Builder builderForValue)

public ListDependenciesResponse.Builder addDependencies(int index, Dependency.Builder builderForValue)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameters
Name Description
index int
builderForValue Dependency.Builder
Returns
Type Description
ListDependenciesResponse.Builder

addDependenciesBuilder()

public Dependency.Builder addDependenciesBuilder()

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Returns
Type Description
Dependency.Builder

addDependenciesBuilder(int index)

public Dependency.Builder addDependenciesBuilder(int index)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
index int
Returns
Type Description
Dependency.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDependenciesResponse build()
Returns
Type Description
ListDependenciesResponse

buildPartial()

public ListDependenciesResponse buildPartial()
Returns
Type Description
ListDependenciesResponse

clear()

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

clearDependencies()

public ListDependenciesResponse.Builder clearDependencies()

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Returns
Type Description
ListDependenciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDependenciesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListDependenciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDependenciesResponse getDefaultInstanceForType()
Returns
Type Description
ListDependenciesResponse

getDependencies(int index)

public Dependency getDependencies(int index)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
index int
Returns
Type Description
Dependency

getDependenciesBuilder(int index)

public Dependency.Builder getDependenciesBuilder(int index)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
index int
Returns
Type Description
Dependency.Builder

getDependenciesBuilderList()

public List<Dependency.Builder> getDependenciesBuilderList()

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Returns
Type Description
List<Builder>

getDependenciesCount()

public int getDependenciesCount()

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Returns
Type Description
int

getDependenciesList()

public List<Dependency> getDependenciesList()

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Returns
Type Description
List<Dependency>

getDependenciesOrBuilder(int index)

public DependencyOrBuilder getDependenciesOrBuilder(int index)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
index int
Returns
Type Description
DependencyOrBuilder

getDependenciesOrBuilderList()

public List<? extends DependencyOrBuilder> getDependenciesOrBuilderList()

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Returns
Type Description
List<? extends com.google.cloud.apihub.v1.DependencyOrBuilder>

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDependenciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDependencies(int index)

public ListDependenciesResponse.Builder removeDependencies(int index)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDependenciesResponse.Builder

setDependencies(int index, Dependency value)

public ListDependenciesResponse.Builder setDependencies(int index, Dependency value)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameters
Name Description
index int
value Dependency
Returns
Type Description
ListDependenciesResponse.Builder

setDependencies(int index, Dependency.Builder builderForValue)

public ListDependenciesResponse.Builder setDependencies(int index, Dependency.Builder builderForValue)

The dependency resources present in the API hub. Only following field will be populated in the response: name.

repeated .google.cloud.apihub.v1.Dependency dependencies = 1;

Parameters
Name Description
index int
builderForValue Dependency.Builder
Returns
Type Description
ListDependenciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDependenciesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDependenciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDependenciesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDependenciesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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