Send feedback
Class ReplaceArtifactRequest.Builder (0.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.7.0 keyboard_arrow_down
public static final class ReplaceArtifactRequest . Builder extends GeneratedMessageV3 . Builder<ReplaceArtifactRequest . Builder > implements ReplaceArtifactRequestOrBuilder
Request message for ReplaceArtifact.
Protobuf type google.cloud.apigeeregistry.v1.ReplaceArtifactRequest
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 ReplaceArtifactRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ReplaceArtifactRequest build ()
Returns
buildPartial()
public ReplaceArtifactRequest buildPartial ()
Returns
clear()
public ReplaceArtifactRequest . Builder clear ()
Returns
Overrides
clearArtifact()
public ReplaceArtifactRequest . Builder clearArtifact ()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public ReplaceArtifactRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplaceArtifactRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ReplaceArtifactRequest . Builder clone ()
Returns
Overrides
getArtifact()
public Artifact getArtifact ()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getArtifactBuilder()
public Artifact . Builder getArtifactBuilder ()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getArtifactOrBuilder()
public ArtifactOrBuilder getArtifactOrBuilder ()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public ReplaceArtifactRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
hasArtifact()
public boolean hasArtifact ()
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the artifact field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeArtifact(Artifact value)
public ReplaceArtifactRequest . Builder mergeArtifact ( Artifact value )
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(ReplaceArtifactRequest other)
public ReplaceArtifactRequest . Builder mergeFrom ( ReplaceArtifactRequest other )
Parameter
Returns
public ReplaceArtifactRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplaceArtifactRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceArtifactRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setArtifact(Artifact value)
public ReplaceArtifactRequest . Builder setArtifact ( Artifact value )
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setArtifact(Artifact.Builder builderForValue)
public ReplaceArtifactRequest . Builder setArtifact ( Artifact . Builder builderForValue )
Required. The artifact to replace.
The name
field is used to identify the artifact to replace.
Format: {parent}/artifacts/*
.google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReplaceArtifactRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplaceArtifactRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplaceArtifactRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]