public static final class UpdateViewRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder> implements UpdateViewRequestOrBuilder
The parameters to `UpdateView`.Protobuf type
google.logging.v2.UpdateViewRequest
Modifier and Type | Method and Description |
---|---|
UpdateViewRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateViewRequest |
build() |
UpdateViewRequest |
buildPartial() |
UpdateViewRequest.Builder |
clear() |
UpdateViewRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpdateViewRequest.Builder |
clearName()
Required.
|
UpdateViewRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpdateViewRequest.Builder |
clearUpdateMask()
Optional.
|
UpdateViewRequest.Builder |
clearView()
Required.
|
UpdateViewRequest.Builder |
clone() |
UpdateViewRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
LogView |
getView()
Required.
|
LogView.Builder |
getViewBuilder()
Required.
|
LogViewOrBuilder |
getViewOrBuilder()
Required.
|
boolean |
hasUpdateMask()
Optional.
|
boolean |
hasView()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateViewRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateViewRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateViewRequest.Builder |
mergeFrom(UpdateViewRequest other) |
UpdateViewRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateViewRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
UpdateViewRequest.Builder |
mergeView(LogView value)
Required.
|
UpdateViewRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateViewRequest.Builder |
setName(String value)
Required.
|
UpdateViewRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
UpdateViewRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpdateViewRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateViewRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional.
|
UpdateViewRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
UpdateViewRequest.Builder |
setView(LogView.Builder builderForValue)
Required.
|
UpdateViewRequest.Builder |
setView(LogView value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UpdateViewRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UpdateViewRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UpdateViewRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder mergeFrom(UpdateViewRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public UpdateViewRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateViewRequest.Builder>
IOException
public String getName()
Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
getName
in interface UpdateViewRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
getNameBytes
in interface UpdateViewRequestOrBuilder
public UpdateViewRequest.Builder setName(String value)
Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The name to set.public UpdateViewRequest.Builder clearName()
Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateViewRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example: `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for name to set.public boolean hasView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
hasView
in interface UpdateViewRequestOrBuilder
public LogView getView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
getView
in interface UpdateViewRequestOrBuilder
public UpdateViewRequest.Builder setView(LogView value)
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateViewRequest.Builder setView(LogView.Builder builderForValue)
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateViewRequest.Builder mergeView(LogView value)
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateViewRequest.Builder clearView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
public LogView.Builder getViewBuilder()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
public LogViewOrBuilder getViewOrBuilder()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
getViewOrBuilder
in interface UpdateViewRequestOrBuilder
public boolean hasUpdateMask()
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
hasUpdateMask
in interface UpdateViewRequestOrBuilder
public com.google.protobuf.FieldMask getUpdateMask()
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMask
in interface UpdateViewRequestOrBuilder
public UpdateViewRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
public UpdateViewRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
public UpdateViewRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
public UpdateViewRequest.Builder clearUpdateMask()
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask For example: `updateMask=filter`
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder
in interface UpdateViewRequestOrBuilder
public final UpdateViewRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
public final UpdateViewRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.