Class GcrDestination.Builder

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcrDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcrDestination.Builder
Overrides

build()

public GcrDestination build()
Returns
TypeDescription
GcrDestination

buildPartial()

public GcrDestination buildPartial()
Returns
TypeDescription
GcrDestination

clear()

public GcrDestination.Builder clear()
Returns
TypeDescription
GcrDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GcrDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GcrDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcrDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GcrDestination.Builder

This builder for chaining.

clone()

public GcrDestination.Builder clone()
Returns
TypeDescription
GcrDestination.Builder
Overrides

getDefaultInstanceForType()

public GcrDestination getDefaultInstanceForType()
Returns
TypeDescription
GcrDestination

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for outputUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcrDestination other)

public GcrDestination.Builder mergeFrom(GcrDestination other)
Parameter
NameDescription
otherGcrDestination
Returns
TypeDescription
GcrDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcrDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcrDestination.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GcrDestination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GcrDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcrDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcrDestination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GcrDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The outputUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for outputUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GcrDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcrDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcrDestination.Builder
Overrides