public final class

ResourceProto.AndroidImageResourceByContentUri.Builder

extends <any>

implements ResourceProto.AndroidImageResourceByContentUriOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ResourceProto.AndroidImageResourceByContentUri.Builder

Overview

 An image to be loaded from a ContentProvider, by content URI.
 
Protobuf type androidx.wear.protolayout.proto.AndroidImageResourceByContentUri

Summary

Methods
public ResourceProto.AndroidImageResourceByContentUri.BuilderclearContentUri()

 The content URI to use, on the format content://authority/resource.

public java.lang.StringgetContentUri()

 The content URI to use, on the format content://authority/resource.

public com.google.protobuf.ByteStringgetContentUriBytes()

 The content URI to use, on the format content://authority/resource.

public ResourceProto.AndroidImageResourceByContentUri.BuildersetContentUri(java.lang.String value)

 The content URI to use, on the format content://authority/resource.

public ResourceProto.AndroidImageResourceByContentUri.BuildersetContentUriBytes(com.google.protobuf.ByteString value)

 The content URI to use, on the format content://authority/resource.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public java.lang.String getContentUri()

 The content URI to use, on the format content://authority/resource.
 
string content_uri = 1;

Returns:

The contentUri.

public com.google.protobuf.ByteString getContentUriBytes()

 The content URI to use, on the format content://authority/resource.
 
string content_uri = 1;

Returns:

The bytes for contentUri.

public ResourceProto.AndroidImageResourceByContentUri.Builder setContentUri(java.lang.String value)

 The content URI to use, on the format content://authority/resource.
 
string content_uri = 1;

Parameters:

value: The contentUri to set.

Returns:

This builder for chaining.

 The content URI to use, on the format content://authority/resource.
 
string content_uri = 1;

Returns:

This builder for chaining.

public ResourceProto.AndroidImageResourceByContentUri.Builder setContentUriBytes(com.google.protobuf.ByteString value)

 The content URI to use, on the format content://authority/resource.
 
string content_uri = 1;

Parameters:

value: The bytes for contentUri to set.

Returns:

This builder for chaining.