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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDependenciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDependenciesResponse build()
buildPartial()
public ListDependenciesResponse buildPartial()
clear()
public ListDependenciesResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListDependenciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDependenciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDependenciesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListDependenciesResponse getDefaultInstanceForType()
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
|
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
|
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;
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;
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
|
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDependenciesResponse other)
public ListDependenciesResponse.Builder mergeFrom(ListDependenciesResponse other)
public ListDependenciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDependenciesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDependenciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDependenciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDependenciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDependenciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides