public static final class SearchVersionsResponse.Builder extends GeneratedMessageV3.Builder<SearchVersionsResponse.Builder> implements SearchVersionsResponseOrBuilder
Response message for PrivateCatalog.SearchVersions.
Protobuf type google.cloud.privatecatalog.v1beta1.SearchVersionsResponse
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
addAllVersions(Iterable<? extends Version> values)
public SearchVersionsResponse.Builder addAllVersions(Iterable<? extends Version> values)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.privatecatalog.v1beta1.Version>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addVersions(Version value)
public SearchVersionsResponse.Builder addVersions(Version value)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
value |
Version
|
addVersions(Version.Builder builderForValue)
public SearchVersionsResponse.Builder addVersions(Version.Builder builderForValue)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
addVersions(int index, Version value)
public SearchVersionsResponse.Builder addVersions(int index, Version value)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Version
|
addVersions(int index, Version.Builder builderForValue)
public SearchVersionsResponse.Builder addVersions(int index, Version.Builder builderForValue)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
addVersionsBuilder()
public Version.Builder addVersionsBuilder()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
addVersionsBuilder(int index)
public Version.Builder addVersionsBuilder(int index)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public SearchVersionsResponse build()
buildPartial()
public SearchVersionsResponse buildPartial()
clear()
public SearchVersionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchVersionsResponse.Builder clearNextPageToken()
A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersions()
public SearchVersionsResponse.Builder clearVersions()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
clone()
public SearchVersionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchVersionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getVersions(int index)
public Version getVersions(int index)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
index |
int
|
getVersionsBuilder(int index)
public Version.Builder getVersionsBuilder(int index)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
index |
int
|
getVersionsBuilderList()
public List<Version.Builder> getVersionsBuilderList()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
getVersionsCount()
public int getVersionsCount()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns |
Type |
Description |
int |
|
getVersionsList()
public List<Version> getVersionsList()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
getVersionsOrBuilder(int index)
public VersionOrBuilder getVersionsOrBuilder(int index)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
index |
int
|
getVersionsOrBuilderList()
public List<? extends VersionOrBuilder> getVersionsOrBuilderList()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.privatecatalog.v1beta1.VersionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchVersionsResponse other)
public SearchVersionsResponse.Builder mergeFrom(SearchVersionsResponse other)
public SearchVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchVersionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeVersions(int index)
public SearchVersionsResponse.Builder removeVersions(int index)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public SearchVersionsResponse.Builder setNextPageToken(String value)
A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public SearchVersionsResponse.Builder setNextPageTokenBytes(ByteString value)
A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.
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 SearchVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersions(int index, Version value)
public SearchVersionsResponse.Builder setVersions(int index, Version value)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Version
|
setVersions(int index, Version.Builder builderForValue)
public SearchVersionsResponse.Builder setVersions(int index, Version.Builder builderForValue)
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;