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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addVersionsBuilder()
public Version.Builder addVersionsBuilder()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns
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
Returns
build()
public SearchVersionsResponse build()
Returns
buildPartial()
public SearchVersionsResponse buildPartial()
Returns
clear()
public SearchVersionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVersions()
public SearchVersionsResponse.Builder clearVersions()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns
clone()
public SearchVersionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchVersionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getVersionsBuilderList()
public List<Version.Builder> getVersionsBuilderList()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns
getVersionsCount()
public int getVersionsCount()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns
getVersionsList()
public List<Version> getVersionsList()
The Version
resources computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Version versions = 1;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchVersionsResponse other)
public SearchVersionsResponse.Builder mergeFrom(SearchVersionsResponse other)
Parameter
Returns
public SearchVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchVersionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameters
Returns