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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcrDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GcrDestination build()
Returns
buildPartial()
public GcrDestination buildPartial()
Returns
clear()
public GcrDestination.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcrDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GcrDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public GcrDestination.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GcrDestination getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GcrDestination other)
public GcrDestination.Builder mergeFrom(GcrDestination other)
Parameter
Returns
public GcrDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GcrDestination.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcrDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcrDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcrDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GcrDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides