public static final class ListAssetsResponse.Builder extends GeneratedMessageV3.Builder<ListAssetsResponse.Builder> implements ListAssetsResponseOrBuilder
ListAssets response.
Protobuf type google.cloud.asset.v1p5beta1.ListAssetsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAssets(Iterable<? extends Asset> values)
public ListAssetsResponse.Builder addAllAssets(Iterable<? extends Asset> values)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1p5beta1.Asset>
|
Returns
addAssets(Asset value)
public ListAssetsResponse.Builder addAssets(Asset value)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
value |
Asset
|
Returns
addAssets(Asset.Builder builderForValue)
public ListAssetsResponse.Builder addAssets(Asset.Builder builderForValue)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Returns
addAssets(int index, Asset value)
public ListAssetsResponse.Builder addAssets(int index, Asset value)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameters
Returns
addAssets(int index, Asset.Builder builderForValue)
public ListAssetsResponse.Builder addAssets(int index, Asset.Builder builderForValue)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameters
Returns
addAssetsBuilder()
public Asset.Builder addAssetsBuilder()
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Returns
addAssetsBuilder(int index)
public Asset.Builder addAssetsBuilder(int index)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAssetsResponse build()
Returns
buildPartial()
public ListAssetsResponse buildPartial()
Returns
clear()
public ListAssetsResponse.Builder clear()
Returns
Overrides
clearAssets()
public ListAssetsResponse.Builder clearAssets()
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAssetsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results. Set to empty if there are no
remaining results.
string next_page_token = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReadTime()
public ListAssetsResponse.Builder clearReadTime()
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Returns
clone()
public ListAssetsResponse.Builder clone()
Returns
Overrides
getAssets(int index)
public Asset getAssets(int index)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getAssetsBuilder(int index)
public Asset.Builder getAssetsBuilder(int index)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getAssetsBuilderList()
public List<Asset.Builder> getAssetsBuilderList()
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Returns
getAssetsCount()
public int getAssetsCount()
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Returns
getAssetsList()
public List<Asset> getAssetsList()
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Returns
getAssetsOrBuilder(int index)
public AssetOrBuilder getAssetsOrBuilder(int index)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getAssetsOrBuilderList()
public List<? extends AssetOrBuilder> getAssetsOrBuilderList()
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1p5beta1.AssetOrBuilder> |
|
getDefaultInstanceForType()
public ListAssetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results. Set to empty if there are no
remaining results.
string next_page_token = 3;
Returns
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results. Set to empty if there are no
remaining results.
string next_page_token = 3;
Returns
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getReadTime()
public Timestamp getReadTime()
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Returns
getReadTimeBuilder()
public Timestamp.Builder getReadTimeBuilder()
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Returns
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Returns
hasReadTime()
public boolean hasReadTime()
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Returns
Type |
Description |
boolean |
Whether the readTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListAssetsResponse other)
public ListAssetsResponse.Builder mergeFrom(ListAssetsResponse other)
Parameter
Returns
public ListAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAssetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeReadTime(Timestamp value)
public ListAssetsResponse.Builder mergeReadTime(Timestamp value)
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAssets(int index)
public ListAssetsResponse.Builder removeAssets(int index)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameter
Name |
Description |
index |
int
|
Returns
setAssets(int index, Asset value)
public ListAssetsResponse.Builder setAssets(int index, Asset value)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameters
Returns
setAssets(int index, Asset.Builder builderForValue)
public ListAssetsResponse.Builder setAssets(int index, Asset.Builder builderForValue)
Assets.
repeated .google.cloud.asset.v1p5beta1.Asset assets = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListAssetsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results. Set to empty if there are no
remaining results.
string next_page_token = 3;
Parameter
Name |
Description |
value |
String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListAssetsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results. Set to empty if there are no
remaining results.
string next_page_token = 3;
Parameter
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
Returns
setReadTime(Timestamp value)
public ListAssetsResponse.Builder setReadTime(Timestamp value)
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Parameter
Returns
setReadTime(Timestamp.Builder builderForValue)
public ListAssetsResponse.Builder setReadTime(Timestamp.Builder builderForValue)
Time the snapshot was taken.
.google.protobuf.Timestamp read_time = 1;
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides