public static final class GetServiceProjectAttachmentRequest.Builder extends GeneratedMessageV3.Builder<GetServiceProjectAttachmentRequest.Builder> implements GetServiceProjectAttachmentRequestOrBuilder
Request for GetServiceProjectAttachment.
Protobuf type google.cloud.apphub.v1.GetServiceProjectAttachmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetServiceProjectAttachmentRequest.BuilderImplements
GetServiceProjectAttachmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetServiceProjectAttachmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
build()
public GetServiceProjectAttachmentRequest build()
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest |
buildPartial()
public GetServiceProjectAttachmentRequest buildPartial()
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest |
clear()
public GetServiceProjectAttachmentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetServiceProjectAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
clearName()
public GetServiceProjectAttachmentRequest.Builder clearName()
Required. Fully qualified name of the service project attachment to
retrieve. Expected format:
projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetServiceProjectAttachmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
clone()
public GetServiceProjectAttachmentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
getDefaultInstanceForType()
public GetServiceProjectAttachmentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Required. Fully qualified name of the service project attachment to
retrieve. Expected format:
projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Fully qualified name of the service project attachment to
retrieve. Expected format:
projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GetServiceProjectAttachmentRequest other)
public GetServiceProjectAttachmentRequest.Builder mergeFrom(GetServiceProjectAttachmentRequest other)
Parameter | |
---|---|
Name | Description |
other | GetServiceProjectAttachmentRequest |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetServiceProjectAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GetServiceProjectAttachmentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceProjectAttachmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetServiceProjectAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
setName(String value)
public GetServiceProjectAttachmentRequest.Builder setName(String value)
Required. Fully qualified name of the service project attachment to
retrieve. Expected format:
projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GetServiceProjectAttachmentRequest.Builder setNameBytes(ByteString value)
Required. Fully qualified name of the service project attachment to
retrieve. Expected format:
projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetServiceProjectAttachmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceProjectAttachmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetServiceProjectAttachmentRequest.Builder |