Class GcrDestination.Builder (2.45.0)

public static final class GcrDestination.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcrDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcrDestination.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GcrDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcrDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcrDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

public GcrDestination.Builder clone()
Returns
Type Description
GcrDestination.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcrDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcrDestination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GcrDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcrDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GcrDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcrDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcrDestination.Builder
Overrides