public interface GeneratedImageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getGenerationTime()
public abstract Timestamp getGenerationTime()
The timestamp when the image was generated.
.google.protobuf.Timestamp generation_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp |
The generationTime. |
getGenerationTimeOrBuilder()
public abstract TimestampOrBuilder getGenerationTimeOrBuilder()
The timestamp when the image was generated.
.google.protobuf.Timestamp generation_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getImageBytes()
public abstract ByteString getImageBytes()
Raw bytes for the image.
bytes image_bytes = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The imageBytes. |
getImageCase()
public abstract GeneratedImage.ImageCase getImageCase()
Returns | |
---|---|
Type | Description |
GeneratedImage.ImageCase |
getName()
public abstract String getName()
Identifier. The unique key for the image.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. The unique key for the image.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getUri()
public abstract String getUri()
Generally web-requestable URI of the generated image. This is a temporary URI and will expire after 6 months. A URI may not be populated immediately after generation. Use get or list api using image_id to get the URI.
string uri = 2;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()
Generally web-requestable URI of the generated image. This is a temporary URI and will expire after 6 months. A URI may not be populated immediately after generation. Use get or list api using image_id to get the URI.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
hasGenerationTime()
public abstract boolean hasGenerationTime()
The timestamp when the image was generated.
.google.protobuf.Timestamp generation_time = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the generationTime field is set. |
hasImageBytes()
public abstract boolean hasImageBytes()
Raw bytes for the image.
bytes image_bytes = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the imageBytes field is set. |
hasUri()
public abstract boolean hasUri()
Generally web-requestable URI of the generated image. This is a temporary URI and will expire after 6 months. A URI may not be populated immediately after generation. Use get or list api using image_id to get the URI.
string uri = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the uri field is set. |