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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcrDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GcrDestination build()
buildPartial()
public GcrDestination buildPartial()
clear()
public GcrDestination.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcrDestination.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GcrDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public GcrDestination.Builder clone()
Overrides
getDefaultInstanceForType()
public GcrDestination getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GcrDestination other)
public GcrDestination.Builder mergeFrom(GcrDestination other)
public GcrDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GcrDestination.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcrDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcrDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcrDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GcrDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides