Class GcrDestination.Builder (2.83.0)

public static final class GcrDestination.Builder extends GeneratedMessage.Builder<GcrDestination.Builder> implements GcrDestinationOrBuilder

The GCR location where the image must be pushed to.

Protobuf type google.cloud.automl.v1beta1.GcrDestination

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GcrDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GcrDestination.Builder
Overrides

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 String

The 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 ByteString

The bytes for outputUri to set.

Returns
Type Description
GcrDestination.Builder

This builder for chaining.