public static final class GcrDestination.Builder extends GeneratedMessage.Builder<GcrDestination.Builder> implements GcrDestinationOrBuilderThe GCR location where the image must be pushed to.
Protobuf type google.cloud.automl.v1beta1.GcrDestination
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GcrDestination.BuilderImplements
GcrDestinationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GcrDestination build()| Returns | |
|---|---|
| Type | Description |
GcrDestination |
|
buildPartial()
public GcrDestination buildPartial()| Returns | |
|---|---|
| Type | Description |
GcrDestination |
|
clear()
public GcrDestination.Builder clear()| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
|
clearOutputUri()
public GcrDestination.Builder clearOutputUri()Required. Google Contained Registry URI of the new image, up to 2000 characters long. See
https: //cloud.google.com/container-registry/do // cs/pushing-and-pulling#pushing_an_image_to_a_registry Accepted forms:
- [HOSTNAME]/[PROJECT-ID]/[IMAGE]
[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
The requesting user must have permission to push images the project.
string output_uri = 1;
| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GcrDestination getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GcrDestination |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOutputUri()
public String getOutputUri()Required. Google Contained Registry URI of the new image, up to 2000 characters long. See
https: //cloud.google.com/container-registry/do // cs/pushing-and-pulling#pushing_an_image_to_a_registry Accepted forms:
- [HOSTNAME]/[PROJECT-ID]/[IMAGE]
[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
The requesting user must have permission to push images the project.
string output_uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The outputUri. |
getOutputUriBytes()
public ByteString getOutputUriBytes()Required. Google Contained Registry URI of the new image, up to 2000 characters long. See
https: //cloud.google.com/container-registry/do // cs/pushing-and-pulling#pushing_an_image_to_a_registry Accepted forms:
- [HOSTNAME]/[PROJECT-ID]/[IMAGE]
[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
The requesting user must have permission to push images the project.
string output_uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for outputUri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GcrDestination other)
public GcrDestination.Builder mergeFrom(GcrDestination other)| Parameter | |
|---|---|
| Name | Description |
other |
GcrDestination |
| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcrDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GcrDestination.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
|
setOutputUri(String value)
public GcrDestination.Builder setOutputUri(String value)Required. Google Contained Registry URI of the new image, up to 2000 characters long. See
https: //cloud.google.com/container-registry/do // cs/pushing-and-pulling#pushing_an_image_to_a_registry Accepted forms:
- [HOSTNAME]/[PROJECT-ID]/[IMAGE]
[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
The requesting user must have permission to push images the project.
string output_uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe outputUri to set. |
| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
This builder for chaining. |
setOutputUriBytes(ByteString value)
public GcrDestination.Builder setOutputUriBytes(ByteString value)Required. Google Contained Registry URI of the new image, up to 2000 characters long. See
https: //cloud.google.com/container-registry/do // cs/pushing-and-pulling#pushing_an_image_to_a_registry Accepted forms:
- [HOSTNAME]/[PROJECT-ID]/[IMAGE]
[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG]
The requesting user must have permission to push images the project.
string output_uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for outputUri to set. |
| Returns | |
|---|---|
| Type | Description |
GcrDestination.Builder |
This builder for chaining. |